Displaying 1 result from an estimated 1 matches for "a483c5c6".
2006 Feb 19
4
Multiple Characters Negate Using Regexp
Dear experts,
I am trying to build a regular expression to filter out anything between <script ... > and </script> tags where I can specify something using negate class to exclude more than one character in sequence.
I tried:
originalresponse.gsub(/<script([^>]+)>([^<]+)?<\/script>/,'''')
but obviously if the script has the