I'm using visual basic .net in a aspx web forms application
If I have a string variable that looks like this that contains numbers and characters.
How do I save only the numbers in a different variable called Intvariable1 ?
Testvariable1 = "123|YYY"
sometimes the values in TestVariable1 will be this "123|YYY" or this "12|YYY" or this "3|YYY"