On Jun 27, 11:17 am, "Smokey Grindle" <nos...@nospam.comwrote:
any fast way to do this? I just need to check if if a string which could
have a lot of characters in it if it has numbers and count the number of
numbers in the string. thanks!
I thinking something like this:
' Assumes Imports System.Text.RegularExpressions
Dim s As String = "Some string 454 with numbers in it. 4234"
Dim regex As New Regex("\d")
MsgBox(regex.Matches(s).Count)
Thanks,
Seth Rowe