Bot-Factory 602 Posted December 24, 2013 Report Share Posted December 24, 2013 Hello. Is it possible to extract parts of a text. And definde the exact position with "Text on left side" and "text on right side".So that everything in between those two is extracted? No matther what fomart it has? Or is that something that can't be done with Regex? Thanks in advance for your helpDan Quote Link to post Share on other sites
UBotDev 276 Posted December 24, 2013 Report Share Posted December 24, 2013 You can simplly do that with regex: (?<=Text On The Left Side).*?(?=Text On The Right Side) Quote Link to post Share on other sites
Bot-Factory 602 Posted December 24, 2013 Author Report Share Posted December 24, 2013 You can simplly do that with regex: (?<=Text On The Left Side).*?(?=Text On The Right Side) AWESOME!! This works perfectly! Thanks a lot for your help. In 50 years I will probably also start to understand how this regex stuff works... CheersDan Quote Link to post Share on other sites
UBotDev 276 Posted December 24, 2013 Report Share Posted December 24, 2013 No problem. I suggest you start learning it today since it's very powerful. Quote Link to post Share on other sites
Anonym 53 Posted December 24, 2013 Report Share Posted December 24, 2013 Regular expressions is one of the best things ever invented. Only the snowblower, the electric screwdriver and the cable ties beats that invention. 1 Quote Link to post Share on other sites
pftg4 102 Posted December 24, 2013 Report Share Posted December 24, 2013 you can use page scrape does exactly this pftg4 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.