#!/usr/bin/perl
# URL that generated this code:# http://txt2re.com/index.php3?s=08:Dec:2017%20%22This%20is%20an%20Example!%22&-59&41$txt='08:Dec:2017 "This is an Example!"';
$re1='(\\d)'; # Any Single Digit 1$re2='(8)'; # Any Single Character 1$re=$re1.$re2;
if ($txt =~ m/$re/is)
{
$d1=$1;
$c1=$2;
print "($d1)($c1)\n";
}
#-----# Paste the code into a new perl file. Then in Unix:# $ perl x.pl #-----