#!/usr/bin/perl
# URL that generated this code:
# http://txt2re.com/index.php3?s=11:Feb:2019%20%22This%20is%20an%20Example!%22&-26&-29
$txt='11:Feb:2019 "This is an Example!"';
$re1='.*?'; # Non-greedy match on filler
$re2='(e)'; # Any Single Word Character (Not Whitespace) 1
$re3='.*?'; # Non-greedy match on filler
$re4='(a)'; # Any Single Word Character (Not Whitespace) 2
$re=$re1.$re2.$re3.$re4;
if ($txt =~ m/$re/is)
{
$w1=$1;
$w2=$2;
print "($w1) ($w2) \n";
}
#-----
# Paste the code into a new perl file. Then in Unix:
# $ perl x.pl
#-----