Skip to Content
0
Former Member
Apr 28, 2010 at 12:48 PM

How to get the numeric character in a string

1471 Views

Hi Experts,

I have the following requirement.

I am double clicking on the number of a string and I need to get the number as the output.

I have string like

String1 : "Account Number 19292 is closed" I am double clicking on 19292

I want the output as 19292

String2 : "AccountNumber19292isclosed" I am double clicking on 19292

I want the output as 19292

String3: "Account Number1929 2 isclosed" I am double clicking on 1929

I want the output as 1929 and not 19292

String4 :"Account Number 1929 2is closed" I am double clicking on 2

I want the output as 2.

Thanks in Advance,

Raju