Guest User

Untitled

a guest
Jan 22nd, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. Pattern myPattern = Pattern.compile('(?:\d[ -]*?){13,16}');
  2. Matcher myMatcher = myPattern.matcher(strSource);
  3. while (myMatcher.find()) {
  4. ... do something ...
  5. }
Add Comment
Please, Sign In to add comment