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
You can use preg_match instead of strpos for regex
preg_match (regex, $string, $matches, PREG_OFFSET_CAPTURE); PREG_OFFSET_CAPTURE gives you the position of match.