Alterego Posted March 27, 2005 Share Posted March 27, 2005 (edited) Over the last week I have read this thread several times. I am running the latest beta and I have StringRegExp in there, but the documentation is not included in the helpfile. Does anyone have an old help file with it they would send me, or can I find it elsewhere? Alternatively, if it is unavailable, I could just use help matching the number 109 in the following line, where Change is always the same, but preceded by any combination of alpha-numerc characters, and the numbers 109, 105, and 129 change every day and can be any two or three digit number and are superceded by any combination/length of alpha-numeric characters. And I believe I can rely on the spacing.Change 109 105 129 Edited March 27, 2005 by Alterego This dynamic web page is powered by AutoIt 3. Link to comment Share on other sites More sharing options...
Alterego Posted March 28, 2005 Author Share Posted March 28, 2005 alright i managed to do it in an overly verbose way with StringInStr. if someone could give me a pointer on how to do this with a regex that'd still be awesome =) This dynamic web page is powered by AutoIt 3. Link to comment Share on other sites More sharing options...
steveR Posted March 28, 2005 Share Posted March 28, 2005 (edited) I tried creating a regexp for ya, but the commands are a little buggy and they cause AuotIt to crash. If you really need to use regexp, I would suggest using vbscript. It has a great regexp library. Or you could try using the DOS command findstr. This would find the first group of digits (2 or 3) after the word Change and spaces Change +([0-9]{2,3}) Edited March 28, 2005 by steveR AutoIt3 online docs Use it... Know it... Live it...MSDN libraryglobal Help and SupportWindows: Just another pane in the glass. Link to comment Share on other sites More sharing options...
Alterego Posted March 28, 2005 Author Share Posted March 28, 2005 oh that's very nice. thanks steveR! This dynamic web page is powered by AutoIt 3. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now