Hey I want to make a safelist so I'm using preg_match against a pattern like this:
/\<((?!a|span|b|ol|ul|li|i|em|p|div|br)[^\>]*>)/
The main problem here is that if someone puts an embed tag, it is matching with the 'em' part. I tried using
[^\>A-Za-z]*
[^\>\d\D]*
But no luck