[thelist] regexp replace?

David Dorward evolt at david.us-lot.org
Wed Jun 19 18:25:01 CDT 2002


On Wed, 19 Jun 2002 16:13:17 -0700 (PDT)
"Tom Dell'Aringa" <pixelmech at yahoo.com> wrote:

> I've never done any regular expressions before - I was wondering if
> there was a "simple" way to take a string like a SSN and strip the
> "-" out..

s/-//g

--
David Dorward                                   http://david.us-lot.org/
HTML email is a bit like using coloured paper and glitter ink on a CV.



More information about the thelist mailing list