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