Profile cover photo
Profile photo
Nishit Vaghela
15 followers
15 followers
About
Nishit's posts

Post has attachment
How to get the substring of a string that contains HTML tags using C# .Net
public string HtmlSubstring( string html, int maxlength) { //initialize regular expressions string htmltag = "</?\\w+((\\s+\\w+(\\s*=\\s*(?:\".?\"|'.?'|[^'\">\\s]+))?)+\\s*|\\s*)/?>" ; //match all html start and end tags, otherwise get each character one ...

Post has attachment
CSS media queries for all the devices
/* Smartphones (portrait and landscape) ----------- */ @media only screen
and (min-device-width : 320px)
and (max-device-width : 480px ) { /* Styles / } / Smartphones (landscape) ----------- */ @media only screen
and (min-width : 321px) { /* Styles */ ...
Wait while more posts are being loaded