I’m searching the pattern for a code like this:
(the whitespace = a dot)
- pippo.11.pluto.22.MINNIE ko
- pippo..11..pluto..22..MINNIE ko
- pippo.11.pluto.22.duck ok
- pippo..11..pluto..22..cat ok
In other words I need a pattern that exlude any string ending with MINNIE and 1 or 2 whitespaces before MINNIE. Upper or lower case are not important.
I try
<code>(pippos+d+(s){1,2})(plutos+d+(s){1,2})(?!MINNIE)
</code>
<code>(pippos+d+(s){1,2})(plutos+d+(s){1,2})(?!MINNIE)
</code>
(pippos+d+(s){1,2})(plutos+d+(s){1,2})(?!MINNIE)
but does not work.
Thanks a lot.