I'm trying to use a regular expression on a snippet of HTML that contains • (ampersand then 'bull;').
I'm getting the HTML by doing:
but this returns the HTML as parsed into a DOM and the special characters - prefixed with ampersands - don't seem to be prefixed with ampersands anymore once the DOM has been created. So just doing:
won't return anything.