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