Regular Expression: exclude a word/string
If you want to exclude a certain word/string from our search pattern, a good way to do this is regular expression assertion …
If you want to exclude a certain word/string from our search pattern, a good way to do this is regular expression assertion …
Here is an online regular expression testing for Java. For example, to find all comments in a source code file.