saversites Posted January 16, 2018 Report Posted January 16, 2018 RegExp Exps (Regular Expression Experts), What is the regex to extract your desired text inbetween 2 tags such as the opening html tag and the closing. Should work for other tags too such as javascript, xml, dhtml, css, etc. Imagine that, I'm on a webpage that looks like this in the source code: <html> <head><title>Article</title></head> <body> Regex is too complicated to learn!<br> Why on earth could not the inventors build it simpler so it is easier to learn ?<br> Oh boy, oh boy!<br> </body> </html> Quote
administrator Posted January 18, 2018 Report Posted January 18, 2018 Hi, Look for 'web page scraper'. For example: https://gist.github.com/anchetaWern/6150297 ... I don't know if this is a good one, but it will give you an idea. Stef Quote
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.
Note: Your post will require moderator approval before it will be visible.