Hawk 207 Hey everyone. I am trying with Regex but I don't know how to capture a word in a text. I already made the connections etc. I only need to read the html to see if a word is in there. I thought this: "(?=Word)\"(.*?)\"" The line I need to capture is this: "Word " If "Word" is in that html source. Capture: "WRD" I tried almost everything, but nothing works. Thanks for help. Quote Share this post Link to post Share on other sites
gof 3 You don't need regex for that: indexOf and substring. Quote Share this post Link to post Share on other sites
Hawk 207 You don't need regex for that: indexOf and substring. That's bad. Regex us the fastest. Quote Share this post Link to post Share on other sites
goodoldie 1 Is Word always constant or will it keep changing? Quote Share this post Link to post Share on other sites
textverified 0 ".*Word.* Customize how you will, Here are the matches/captures: Quote Share this post Link to post Share on other sites