How to combine the exact word contains any special character?
$string = 'Fall in love with #PepsiMoji! Celebrate #WorldEmojiDay by downloading our keyboard @ http://bit.ly/pepsiKB & take your text game up a notch. - teacher'; preg_match("/\b#worldemojiday\b/i",$string); //false
I want to combine the exact word containing any character. For example, if I want to combine the word “load” on this line, it should return false
preg_match("/\bdownload\b/i",$string); //false
But when I search for a download, it should return true.
thanks
user3049006
source share