Jethro commented on a Page, Speak English Only  -  Sep 05, 2009

miniCruzer, add \b anchor to every of your regex matches like this:

/(\bbola\b|\bComo\b|\bvai\b|\bvocê\b|\bbom\b|\bsim\b)/iS

This will greatly minimize the chances of being triggered wrongly if any word or letter said within the matching text. And remove the dollar sign at the end of them.

I think it's rude and arrogant to laugh at people's scripts without giving his or her suggestion for improvement.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.