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>
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
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