in reply to Regex problem
your script worked for me, did you maybe test with "keyword=nn" instead of for example "keyword=12" ?
This will not work of course, as you are matching digits after the "=".
And you forgot the ";" in the line with the regex, but I think this was only a typo.
---- kurt