$date =~ /\b(\d{4})(\d{2})(\d{2})\b/; print "$1 $2 $3"; [download]
In reply to Re: Date Regex by lacertus in thread Date Regex by danambrose