Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Check Alphanumeric's from webtable
#2
Solved: 10 Years, 9 Months, 1 Week ago
Please check the below code
Code:
myvalue = "Karachi (KHI1-)"

Set regexp = New RegExp
regexp.Pattern =  "[^\w\(\)\s]"
regexp.Global = True
regexp.IgnoreCase = True
set Matches = regexp.Execute(myvalue)
msgbox Matches.Count
If Matches.Count = 0 Then
    msgbox "input contains only alphanumerics and spl chars ()"
else
    For Each Match in Matches
        msgbox Match
    Next
End If
Thanks,
SUpputuri
Reply


Messages In This Thread
RE: How to Check Alphanumeric's from webtable - by supputuri - 06-28-2012, 02:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Link in a webtable in a webtable Soulwalker 1 2,706 07-19-2017, 01:44 PM
Last Post: Ankur
  How to validate a format of an alphanumeric string PrateepKaraval 2 5,810 11-08-2014, 10:26 AM
Last Post: vinod123
  Webtable actions are not getting recorded, but ObjectSpy is able to identify webtable sahilarora2000 2 3,644 06-13-2014, 04:27 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)