Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Regex: Strip <script> tags?

by ikegami (Patriarch)
on Sep 02, 2007 at 20:01 UTC ( [id://636627]=note: print w/replies, xml ) Need Help??


in reply to Re: Regex: Strip <script> tags?
in thread Regex: Strip <script> tags?

It lets the following through:

<<script></script>script>...</script>

It's also a poor regexp in a more general sense since it it doesn't check if the > actually closes the tag of it's inside the quotes of an attribute value.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://636627]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-24 08:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found