Hiya,
I have this regex to replace all instances of myWord:
...it works in most instances, but when oldWord is at the end of the sentence it is not replaced. Presumably the problem is that "/b" is not a sufficient
word boundary. Can someone help me out with the correct regular expression code?
Thanks,
James