In a message dated 1/11/2003 8:55:37 PM Eastern Standard Time, 
[EMAIL PROTECTED] writes:


> When processing the form the date in this format 3/1/2003 is converted to
> 3%2F1%2F2003.
> 
> Can someone give me a regex to convert it back again please. Im only new to
> perl and am struggling with regex's

$value = "3%2F1%2F2003";  
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; 

Reply via email to