in reply to How do I use regex to strip out specific characters in a string?
Of course, I suck at regexes, so this only makes sense in my head...$stamp =~ s/.{3}(.{6}).{5}/$1/gosix; #strips first day/year chars $stamp =~ s/://gosix; #strips the colon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How do I use regex to strip out specific characters in a string?
by dga (Hermit) on Aug 23, 2001 at 01:34 UTC | |
by tshabet (Beadle) on Aug 23, 2001 at 01:43 UTC |