I have the following string as an example
xxx<pre>xxx<www>xxx<strong>xxxIn my case "pre" is allowed and "strong" as well. But "www" is not allowed.
I have tried just for test to finde one exception with:
<(?!strong)>But did not bring a hit!
At least I need to define in the regex all allowed patterns (there are not many in my case) and it should bring a hit if some not allowed pattern is found
Can someone help me on this?
In reply to perlre inverse check for several patterns by averlon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |