Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
$col=~s/(\d)(\d\d\d)$/$1,$2/g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: simple regex
by Nkuvu (Priest) on Feb 26, 2004 at 19:22 UTC | |
|
Re: simple regex
by borisz (Canon) on Feb 26, 2004 at 19:14 UTC | |
|
Re: simple regex
by NetWallah (Canon) on Feb 26, 2004 at 19:33 UTC | |
|
Re: simple regex
by revdiablo (Prior) on Feb 26, 2004 at 19:38 UTC | |
|
Re: simple regex
by Roger (Parson) on Feb 26, 2004 at 22:36 UTC |