So I am parsing twitter statuses using PHP and I want to write code that recognizes whether the person added a specific tag (#php). The code always searches for the #php tag and determines whether the person added the tag. I am only searching for the #php tag. How can I write such a code in PHP?
Share
With
preg_match():It’s case-insensitive.