Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (S+)s+(d+)s+S+
- Matcher matcher = Pattern.compile(re).matcher(tableContents.toString());
- //tableContents is a StringBuilder object
- if (matcher.find()) {
- for(int j=1; j<=matcher.groupCount(); j++) {
- tabularList.add(matcher.group(j));}} //tabularList is an ArrayList
Add Comment
Please, Sign In to add comment