If you are trying to match on 'mu' not preceded by 'a', you should be able to use a negative look-behind assertion: /(?<!a)mu/
If you are trying to match on 'mu' on its own, not in the middle of a word, use boundaries : /\bmu\b/
In reply to Re: Regex question
by pokki
in thread Regex question
by memnoch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |