Email body regex search
Here is an example email body:
Name: Jah Selassie
Store Locator: Finland Service Number: alphanumeric
I am looking for a r开发者_如何学运维egex to search through the body of an email and check for a location entry after "Store Locator".
To match on the end of line:
Store Locator:\s*([^\r\n]*)
^Store Locator: ?(.*)$
精彩评论