开发者

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: ?(.*)$

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜