S
Samuel Hon
Hi
I've been tearing my hair out with this problem, I'm not particuarly
good with more complex reg expressions. Basically, I'm trying to
highlight search keywords.
For example:
http://www.google.co.uk/search?q=regular+expressions
If the phrase regular expressions appears, then the text is bold. This
I can achieve.
BUT
and there had to be one, if a word appears in a URL, then I need to
ignore it. One of the results is www.regular-expressions.info (which I
have looked at). Using the simple expression will change the url to
www.<B>regular</B>-<B>expressions</B>.info
which obviously is bad.
Any help would be appreciated
Thanks
Sam
I've been tearing my hair out with this problem, I'm not particuarly
good with more complex reg expressions. Basically, I'm trying to
highlight search keywords.
For example:
http://www.google.co.uk/search?q=regular+expressions
If the phrase regular expressions appears, then the text is bold. This
I can achieve.
BUT
and there had to be one, if a word appears in a URL, then I need to
ignore it. One of the results is www.regular-expressions.info (which I
have looked at). Using the simple expression will change the url to
www.<B>regular</B>-<B>expressions</B>.info
which obviously is bad.
Any help would be appreciated
Thanks
Sam