I'm trying to use a regular expression to find all substrings that start with an equals sign (=
) and ends with a semicolon (;
) with any number of characters in between. It should be something like this =*;
For some reason, the equals is not registering. Is there some sort of escape character that will make the regex notice my equals sign?
I'm working in Java if that has any bearings on this question.
Thanks!