"
" : "",
this equivalent in c#... ????
" : "",
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Jan 9, 2015, 6:37 AM
The first parameter is matching a pair of paragraph tags whose content is a single space and which have at least one attribute followed by an align attribute.
The second parameter is an empty string and so this will get rid of the paragraph tags described above.
If 'html' is the HTML string, I'd say the C# equivalent would be:
html = Regex.Replace(html, "
", "");Posted Jan 9, 2015, 5:47 AM
Posted Jan 9, 2015, 5:13 AM
Bhushan GawalePosted Jan 9, 2015, 4:54 AM
http://derekslager.com/blog/posts/2007/09/a-better-dotnet-regular-expression-tester.ashx