while (<DATA>) { next if /in\s*$/; print "$1.$2\n" if /^\s*Pin:\s+(\w+)\.(\w+)/; } [download]
In reply to Re: Help with a regex by Laurent_R in thread Help with a regex by mavericknik