in reply to Regex question
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/
|
|---|