[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] Xslt 2 stripping out non-numbers
Subject: RE: [xsl] Xslt 2 stripping out non-numbers From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Wed, 20 Apr 2005 19:41:11 +0100 |
> I need to strip out non-numerical values from a string. > > Here is a sample input value: TUV0062 > > And what I want is : 0062 (or just 62) > > What is the correct way to do this using XSLT 2? > replace($in, '[^0-9]', '') Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Xslt 2 stripping out non-numb, Jim Neff | Thread | RE: [xsl] Xslt 2 stripping out non-, Ross, Douglas |
RE: [xsl] Xslt 2 stripping out non-, Michael Kay | Date | Re: [xsl] An XSL question, Brian Chrisman |
Month |
Keywords