"
" : "",
this equivalent in c#... ????
" : "",
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Bhushan GawaleRank #299 · 8.4K reputationPosted Jan 8, 2015, 11:54 PM EST
http://derekslager.com/blog/posts/2007/09/a-better-dotnet-regular-expression-tester.ashx
Posted Jan 9, 2015, 12:13 AM EST
Posted Jan 9, 2015, 12:47 AM EST
VulpesRank #55 · 29.2K reputationPosted Jan 9, 2015, 1:37 AM EST
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, "
", "");