Hello,
I was wondering if someone could please assist me with a script that will grab all data between two strings (not elements) in a webpage's html. For example, in google.com's html, the first row is:
I would want a script that could grab all content between the text "schema.org/WebPage" and "origin", resulting in "" lang="en"><head><meta charset="UTF-8"><meta content=""
Many thanks,
Isaac
I was wondering if someone could please assist me with a script that will grab all data between two strings (not elements) in a webpage's html. For example, in google.com's html, the first row is:
HTML:
<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="en"><head><meta charset="UTF-8"><meta content="origin" name="referrer">
I would want a script that could grab all content between the text "schema.org/WebPage" and "origin", resulting in "" lang="en"><head><meta charset="UTF-8"><meta content=""
Many thanks,
Isaac