Jump to content

Help on StringRegExp()


Recommended Posts

Not to beat a dead horse...

$array = StringRegExp("HP EliteBook 1234P", "[0-9a-zA-Z]*[0-9][0-9a-zA-Z]*", 1)
MsgBox(0, "Answer", $array[0])

Any string with at least one number should be matched by this.

Gerard J. Pinzonegpinzone AT yahoo.com
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...