How can I create a regular expression for excluding words with a specific starting pattern?
Consider the following list:
- January
- February
- June
- July
- October
I need a regular expression that will match all words except "June" and "July" because they start with "Ju".
I attempted using ^[^ju], but this matches any word starting with "J" or "U". What I really need is to match words starting specifically with "Ju".