Jump to content

Searching Text that contains numbers


Recommended Posts

This is my code:

Send("^a") ;select webpage text

Send("^c") ;copy it to clipboard

Sleep(250) ;pause for clipboard to process the new data

$RoutedDump = ClipGet()

$routed = StringRegExp($RoutedDump, 'Routed (0)')

MsgBox(4096, "test", $routed)

My Problem is i need the text "Routed (0)" to be found or not found but the (0) I think is not being handled as text, I can search the for "Routed" and find it but it fails with the (0), please help, this seems simple, which means im missing something obvious.

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...