Quote:
Originally Posted by Jellby
But it would also find it between two <i></i> blocks, wouldn't it?
|
You're are of course right, but as
DiapDealer has already pointed out, it's pretty much impossible to come up with a regex that covers all possible permutations. However, my simple regex covers at least the three most likely scenarios. I.e., an initial, medial or final occurrence of the search string.