print( ($string =~ /.html?$/) ? "Complete\n" : "Incomplete\n" ); [download]
In reply to Re: URL Regex Matching, again by Roy Johnson in thread URL Regex Matching, again by Anonymous Monk