JavaScript get HTML elements from a string
I recently had a string with some content from a WYSIWYG editor (What you see is what you get). In there, I needed to find all the href elements. But this specific approach can work for many things. My approach consists of using the DOMParser, one co...
Dec 22, 20204 min read823

