Is it possible to parse some Java code with a regex?
So let\'s say I want a list of the int variables from this:
int
You can try with regular expressions, but it may be easier to user a Java Parser. You can try JavaCC.