I am trying to set-up a quite complex regexp, but I can't avoid just one element from not-match list.
My regular expression is:
1234567-8_abc((?!_ABC|_DEFGHI)[\w]?)*(\.ios|\.and)
What I have to exclude is:
- 1234567-8_abc.ios
- 1234567-8_abc_DEFGHI.ios
- 1234567-8_abc_ABC.ios
Instead, what I have to include is:
- 1234567-8_abc_1UP.ios
- 1234567-8_abc_FI.ios
- 1234567-8_abc_gmg.ios
- 1234567-8_abc_1UP.and
- 1234567-8_abc_FI.and
- 1234567-8_abc_gmg.and
- 1234567-8_abc_ddd.and
- 1234567-8_abc_qwert.ios
- 1234567-8_abc_88.ios
Well, I can't exclude the first option (1234567-8_abc.ios).
I tried it here.
How can I achieve this?
Thank you!