in reply to Re^2: regular expression
in thread regular expression
If you only want to replace digits in there, you can also say
substr($str, 6, $len - 10) =~ s/\d/X/g
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: regular expression
by Crackers2 (Parson) on Feb 15, 2012 at 16:07 UTC | |
|
Re^4: regular expression
by Don Coyote (Hermit) on Feb 15, 2012 at 13:22 UTC |