Hello
I am trying to only allow 10 html tags in my string:
<b>,</b>
<i>,</i>
[u], </u>
<br>
<mailto:
[email protected]>
The expressions are:
<?(b|/b|u|/u|i|/i|br)>
<mailto:\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*>
All html tags are not allowed but the above ones.
How do I use Match to be True when there is a match to these html tags.
This is tricky because Match must be True when these are present and these are not present.
All other Html tags are not allowed. If html tags other than the ones listed are present then Match should be false.
There is no such thing as Not Match method. Thank you.