I need an regex that match
"my dog", "My dog", "my &dog"
but not
"my dog#", "My dog#"
for search string "my dog". I have this expression at the moment by I have this:
reg_replace("/\b(my dog)\b/ui",'found','My dog');
But this obviously matches "my dog#" and not "My &dog". Any help would be appreciated.