element72 Posted September 22, 2015 Share Posted September 22, 2015 (edited) I gathered the source from a webpage and I want to identify a specific word(s). For example, in the html I see <td> sdfsdFox sdf</td> or <td> Cat© Foxtsf sdfd </td>.Is there a function that can determine that Fox (and Cat) is in between <td> and </td> ? Edited September 22, 2015 by element72 Link to comment Share on other sites More sharing options...
JohnOne Posted September 22, 2015 Share Posted September 22, 2015 (edited) If I recall it's something like _IETableGetCollection and you iterate through it, that's if you're using IE UDFIf you are just going through the flat source you can use a RegExp or simply _StringBetween($source, "<td>", "</td>")To get an array. Edited September 22, 2015 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
element72 Posted September 23, 2015 Author Share Posted September 23, 2015 Thank you. In laymens terms what is the difference between these 3 flags: $STR_REGEXPARRAYMATCH (1)Return array of matches.$STR_REGEXPARRAYFULLMATCH (2)Return array of matches including the full match (Perl / PHP style).$STR_REGEXPARRAYGLOBALMATCH (3)Return array of global matches. Link to comment Share on other sites More sharing options...
element72 Posted September 23, 2015 Author Share Posted September 23, 2015 Ok I am having trouble figuring out the 'pattern' portion of the StringRegExp(). I am trying so many different things and I am starting to doubt myself. Link to comment Share on other sites More sharing options...
JohnOne Posted September 23, 2015 Share Posted September 23, 2015 Then use _StringBetween or look at its source, it probably uses regex. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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