I'm attempting to get the text string from a string of HTML.
I would like to capture only the text between tags and skip over any empty tags.
My attempt is current attempt can be found here:
//I will fail on nested tags, it capture the first nested tag
//Finds me all the string, but also includes loads of empty strings
//for adjacent tags ><
Try a regex like
This simply matches all text between
< that isn't all whitespace. See https://regex101.com/r/3Ujmw6/4.