Guest User

Untitled

a guest
Jan 24th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. (S+)s+(d+)s+S+
  2.  
  3. Matcher matcher = Pattern.compile(re).matcher(tableContents.toString());
  4. //tableContents is a StringBuilder object
  5. if (matcher.find()) {
  6. for(int j=1; j<=matcher.groupCount(); j++) {
  7. tabularList.add(matcher.group(j));}} //tabularList is an ArrayList
Add Comment
Please, Sign In to add comment