Skip to content

Instantly share code, notes, and snippets.

@pdincau
Created February 17, 2015 13:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pdincau/ea60d1fc7d900a61ae0c to your computer and use it in GitHub Desktop.
Save pdincau/ea60d1fc7d900a61ae0c to your computer and use it in GitHub Desktop.
separatore string calculator
Estrarre separatore string calculator
Pattern pattern = Pattern.compile("//(.+?)\n(.+)");
Matcher matcher = pattern.matcher(input);
if (matcher.matches()) {
System.out.println(matcher.group(1));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment