Tagged: preg_match


How To Check If String Contains A Specific Word in Php?

I have a string and want to check if the string provides some word I want to look. For example the string is like below

There are different way to achive this we will look them below. By Using strpos strpos is a Php function used to find given word...

Enjoy this blog? Please spread the word :)