Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- what Regex works for this?
- ---------- Forwarded message ---------- From: person name Date: 2011/12/1 Subject: RE: this is a test subject To: Nadal@gmail.com
- testingggggg
- This e-mail (and attachment(s)) is confidential, proprietary,
- preg_match('/nadal@gmail.com(.*?)This e-mail (and attachment(s)) is confidential,/', $wholeBody, $matches); echo $matches[1];
- (?<=Nadal@gmail.com)s*(.*?)s*(?=This e-mail (and attachment(s)) is confidential, proprietary,)
- preg_match('/(?<=Nadal@gmail.com)s*(.*?)s*(?=This e-mail (and attachment(s)) is confidential, proprietary,)/s', $message, $matches);
Add Comment
Please, Sign In to add comment