bbaker@copesan.com has asked for the wisdom of the Perl Monks concerning the following question:
Sorry this question may show up twice. The first was anonymous which is not how I wanted it posted. So here is my question or issue.
I have the following snippet from and email I would like to use regex to return the complete line of the address to a variable.
Service Location:
1475 E Los Angeles Ave, Simi Valley, CA, 93065, US
It appears the white space follows the address line.
Thanks in advance for the help.
Update
Thanks again
Maybe some day I will be a better user of this forum.
Sorry. Just learning
I did figure it out by using.
/Service Location:\s*(.*)$/s
Thanks again from a newbe.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex help
by 2teez (Vicar) on Oct 02, 2013 at 17:18 UTC | |
|
Re: Regex help
by GotToBTru (Prior) on Oct 02, 2013 at 17:07 UTC |