Using regex in a string for strpos()
I want to get the scripts to search the $open_email_msg which different e-mails will have different info but the same format as below. I haven't really used regex much, but what i want to do is whenever i have it to search the string it would search for "Title: [data for title]", "Categories: [data for categories]. I am asking because i don't think something like strpos($open_email_msg, "Title: (*^)"); would even work. This is just a snippet of the whole code, the rest inserts the info into a MySQL table and then is posted to a News Article on the site. Can somebody help me find a solution to