"perspolis" <re*****@hotmail.com> wrote in
news:e6**************@TK2MSFTNGP10.phx.gbl...
I used a regular expression and I want to find any sentences between
"<script" and > "</script?"
and the pattern I used it's here
String regstr=@"(<script((?!</script>)(\w|\W))+</script>)";
but it dosen't sometimes work...pls help me??
Please don't post HTML-text if it isn't absolutely neccessary.
I've tried your regex (on this email's text), and it does seem to work.
Could you post sample data where it doesn't?
Niki