i want to get only numbers from string.
Lest say that this is my string :
324ghgj123
i want to get:
324123
you can use Regex for this
Regex
Imports System.Text.RegularExpressions
then on some part of your code
Dim x As String = "123a123&*^*&^*&^*&^ a sdsdfsdf" MsgBox(Integer.Parse(Regex.Replace(x, "[^\d]", "")))