Problem Write a regular expression in Perl to validate dates in the following format "mm/dd/yyyy".  The month and day fields can be one or two digits. Code Here is a sample Perl code to do that #!/usr/bin/perl $date = " 1/1/2010 "; if ($date =~ /^\s*\d{1,2}/\d{1,2}/\d{4}\s*$/){ print "Format is correct";}else{ print "Format is not correct";}