I have a string like this:
"this is a string with <em>html</em> values"
and I need to recognize the em part and the before and after part of the html tags.
can I use javascript to split the string into an array, as example:
["this is a string with", "html", "values"]