Sorry if the answer was out there somewhere. I did my research but couldn't find it.
I want to build a regular expression pattern that will match a line in the following format:
- Begins with the word "sccp"
- Followed by a space
- Followed by anything except "ccm group"
I know that ^ in square brackets means "except for any of the characters". How do I exclude a phrase instead of single characters? Obviously, the pattern below didn't do what I wanted:
^sccp [^ccm group]
Thanks!