Search Results

Search found 1 results on 1 pages for 'amitre'.

Page 1/1 | 1 

  • Using Regex to remove script tags

    - by amitre
    Hi, I'm trying to use a Regex expression I've found in this website and it doesn't seem to work. Any ideas? Input string: sFetch = "123<script type=\"text/javascript\">\n\t\tfunction utmx_section(){}function utmx(){}\n\t\t(function()})();\n\t</script>456"; Regex: sFetch = Regex.Replace(sFetch, "<script.*?>.*?</script>", "", RegexOptions.IgnoreCase); Thanks!!!

    Read the article

1