#!/usr/bin/perl
# URL that generated this code:
# http://www.txt2re.com/index.php3?s=15:Mar:2019%20%22This%20is%20an%20Example!%22&-64&-45&-35&48&-9999
$txt='15:Mar:2019 "This is an Example!"';
$re1='()'; # 1
$re2='.*?'; # Non-greedy match on filler
$re3='(M)'; # Any Single Character 1
$re4='.*?'; # Non-greedy match on filler
$re5='(2)'; # Any Single Digit 1
$re6='.*?'; # Non-greedy match on filler
$re7='.'; # Uninteresting: c
$re8='.*?'; # Non-greedy match on filler
$re9='.'; # Uninteresting: c
$re10='.*?'; # Non-greedy match on filler
$re11='.'; # Uninteresting: c
$re12='.*?'; # Non-greedy match on filler
$re13='(.)'; # Any Single Character 2
$re14='.*?'; # Non-greedy match on filler
$re15='(m)'; # Any Single Word Character (Not Whitespace) 1
$re=$re1.$re2.$re3.$re4.$re5.$re6.$re7.$re8.$re9.$re10.$re11.$re12.$re13.$re14.$re15;
if ($txt =~ m/$re/is)
{
$1=$1;
$c1=$2;
$d1=$3;
$c2=$4;
$w1=$5;
print "($1) ($c1) ($d1) ($c2) ($w1) \n";
}
#-----
# Paste the code into a new perl file. Then in Unix:
# $ perl x.pl
#-----