By whitespace, do you mean newline, or do you mean that it could possibly be "99999, US irrelevant"?
Assuming newline, since you mentioned "complete line":
if( $string =~ m/Service Location:\s+(.+)$/ ) { $address = $1; }
You should read perlretut and perlrequick, for starters.
Dave
In reply to Re: regex help
by davido
in thread regex help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |