in reply to Re^3: Regex, extracting stuff from the middle of a line
in thread Using a regex function from a hash

Your requirements are very vague.

while (<$fh>) { print("$1\n") if /\\(.*?) at the parker inn$/ or /^date : (\S+)/; }