Sign in to follow this  
Followers 0
philip9

Searching Text that contains numbers

1 post in this topic

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.

Share this post


Link to post
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
Sign in to follow this  
Followers 0