Hi,
I want to be able to process a string of html, but only to include html tags which are not self closing for example:
- <b>test</b> Include
- <b><br/><br />test</b> The br's to be excluded
I have this which sucks it all in. <[^/](.|\n)*?>.
Any help would be appriciated to finish the regex off.
Thanks
I want to be able to process a string of html, but only to include html tags which are not self closing for example:
- <b>test</b> Include
- <b><br/><br />test</b> The br's to be excluded
I have this which sucks it all in. <[^/](.|\n)*?>.
Any help would be appriciated to finish the regex off.
Thanks