Page is a not externally linkable
Globetrotter - 8:13 am on Oct 5, 2012 (gmt 0)
Sorry for the late reply I had to rethink the whole reply a few times to be able to do to something with it. I tried the regex in your post, but because I’m trying to find keywords in a non-English language I’m facing some different problems. I also had to deal with HTML.
The last couple of days I’ve been experimenting a lot. And now I might have found a big part of the solution.
/(\w+\s){0,2}keywordhere(\s\w+){0,3}/
This works quite well but it still needs to skip HTML tags, and bb code which this regex dos not. I did manage to find a regex for that, but it’s now matching different things than before.