Problems? Is your data what you think it is? | |
PerlMonks |
Regex helpby bbaker@copesan.com (Initiate) |
on Oct 02, 2013 at 16:10 UTC ( [id://1056641]=perlquestion: print w/replies, xml ) | Need Help?? |
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.
Back to
Seekers of Perl Wisdom
|
|