The \Q and \E tell the perl regex interpreter to ignore special characters that may exist in your $PhoneNumber variable (such as parens and dashes)/^.*\Q$PhoneNumber\E$ / ...
In reply to Re: Extracting Multiline Records from a file
by Transient
in thread Extracting Multiline Records from a file
by DeliriumNZ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |