Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42225

VS 2012 Get exact number from string

$
0
0
Hi all,

I have a number of rows in a datagridview that i want to go through and get the string.
The string will consist of letters, numbers and punctuation.
But all will have a eight digit number beginning with the number 9
i.e 91234567

Some strings might contains two or more of a number like this.

What i need is to be able to extract just this number
and (if possible) if there is two or more duplicate the datagridview row for each extra number.

Can someone help me out here.

Thanks in advance
Alex

Viewing all articles
Browse latest Browse all 42225

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>