How do I express ":" but not preceded by "\" in a Java regular expression?
- by jjujuma
How can I express "not preceded by" in a Java regular expression? For example I would like to search for ":" but only when it is not directly preceded by "\". How can I do this?