|
Re: whitespace
use .*? rather that [.]* ... and take out the leading space ahead of the [.] too if you want it to work on <script> alone.
The match you have in the example in previous posts is a greedy one that will match up to the last >; you want a sparse match to only go as far as the next >.
|