in reply to Removing Commas and Period in Amount Field

Define "best". The usual way of removing all of some set of characters from a string is to use tr///d.

If you want to use a regex you probably want to include the g switch to have all matching strings replaced rather than just the first one.


Perl's payment curve coincides with its learning curve.