Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reg.Exp for selecting strings not starts with 'Re:'

Status
Not open for further replies.

whizzz

Programmer
Oct 19, 2003
32
IN
Friends..
pls help me to write regular expression for matching the strings not starting with the word 'Re:'

Its very urgent pls help me

Thanks in advance
 
try:
$string !~ m/^Re:/;
This will only match the strings that do not start with Re:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top