Archive for the ‘Regular Expressions’ Category

Reg Ex for Script Tags

I thought it might be nice to have a little archive of Javascript Regular Expressions for other people coming through.
This one is for pulling <script> tags out of a string. It should match any case, account for attributes in the opening tag, and match any code including line breaks in between the tags.
First up, [...]

Subscribe to RSS Feed Follow me on Twitter!