Insertion with Regex to format a date (Perl)

Posted by Zerobu on Stack Overflow See other posts from Stack Overflow or by Zerobu
Published on 2010-04-03T20:19:00Z Indexed on 2010/04/03 22:13 UTC
Read the original article Hit count: 230

Filed under:
|

Hello. Suppose I have a string 04032010. I want it to be 04/03/2010. How would I insert the slashes with a regex?

© Stack Overflow or respective owner

Related posts about perl

Related posts about regex