I need to learn RegEx but don't have time to figure this out right now. -- So I'm attempting exploit the community's capabilities.
I have a string containing a list of acceptable 1-character comment variables.
String comments = "#;";
And I want:
String[] parsedComments = {"#", ";"};
What RegEx string will solve my problems?
String[] parsedComments = comments.split(/* "???" */);