Javascript reg ex to match whole word only bound only by whitespace.
Posted
by iamnotmad
on Stack Overflow
See other posts from Stack Overflow
or by iamnotmad
Published on 2010-06-01T17:31:06Z
Indexed on
2010/06/01
17:33 UTC
Read the original article
Hit count: 156
regex
Hi, so I know \bBlah\b will match a whole Blah, however it will also match Blah in "Blah.jpg" I don't want it to. I want to match only whole words with a space on either side.
© Stack Overflow or respective owner