strip script/style tags from input.

also get regex working on multiple lines,
and add tests for multiline regexes.