Originally posted by Jan Kwiatkowski:
Thanks for help. It was really handy advice
The regex looks like this: "[^a]*a[^a]*a[^a]*"
Thanks once more
cheers,
J.
You're welcome. And to make it case insensitive, you could do it like this:
which is a rather long-winded solution. This is a shorter version of the above:
Wherever you place the i-flag "(?i)" in your regex, from thereon case insensitive matching is applied. You could even tell it to stop matching case insensitive by inserting the stop-flag "(?-i)" in your regex.
For example, these are the same regexes: