in reply to Re^3: Regex: Ignore \n in \Sin thread Regex: Ignore \n in \S
while (<DATA>) { s/\\n/\n/g; print "Matched: $1\n" if /DIP\s+\S+\s+(\S+).*?\n/; } [download]