Sign in to follow this  
Followers 0
foolove

Find text on a webpage

1 post in this topic

I need to do a MouseClickDrag to highlight text on a webpage.

Can I do a regex call for this to find text in an html document?

There is text inbetween then line but at the start of what i want to highlight and copy the regex call would be

\d{4}-\d{2}-\d{2}-\w{2}\d{5}-.*

where the .* is for anyone that is not keen on regex will match the remaing characters on the line I know my regex is correct

I need the cursor to click and highlight starting at the beginning of this string 2011-10-13-

The date 2011 should suffice but if there is a way to highlight the regex match and copy that out of the html document while viewing in IE that is what I am trying to accomplish

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