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