Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
My problem is that if the text contains < or > it won't wrap.
Regex regScriptCDATA = new Regex("(<script[^<>]*>)([^<>]+)(<\\/script>)"); MatchCollection m = regScriptCDATA.Matches(strHtml); String strScriptCDATA = "$1" + "//<![CDATA[\n" + "$2" + "//]]>\n" + "$3"; strHtml = regScriptCDATA.Replace(strHtml, strScriptCDATA);
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|C# Service FileSystemwatcher isse||9||47|
|How to fix 'event logs could not be searched' error asp.net?||3||18|
|Using VS2010 with .NetFramework 4.0, how would you make a multiline textbox appear as a label control?||9||22|