[thelist] regexp replace?
Hassan Schroeder
hassan at webtuitive.com
Wed Jun 19 18:26:00 CDT 2002
Tom Dell'Aringa 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..
? What language are you using? Most programming languages have a
simple character replace function along the lines of (Java here)
String newSSNString = originalSSNString.replace('-', '');
HTH!
--
H*
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
-- creating dynamic Web sites and applications since 1994 --
More information about the thelist
mailing list