#!/usr/bin/perl
# URL that generated this code:
# http://www.txt2re.com/index.php3?s=12:Oct:2018%20%22This%20is%20an%20Example!%22&42
$txt='12:Oct:2018 "This is an Example!"';
$re1='.*?'; # Non-greedy match on filler
$re2='\\d'; # Uninteresting: d
$re3='.*?'; # Non-greedy match on filler
$re4='\\d'; # Uninteresting: d
$re5='.*?'; # Non-greedy match on filler
$re6='\\d'; # Uninteresting: d
$re7='(\\d)'; # Any Single Digit 1
$re=$re1.$re2.$re3.$re4.$re5.$re6.$re7;
if ($txt =~ m/$re/is)
{
$d1=$1;
print "($d1) \n";
}
#-----
# Paste the code into a new perl file. Then in Unix:
# $ perl x.pl
#-----