Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Loop through all regex matches
- // wrap each match with a prefix and suffix
- // concatenate each result them using a separator
- while(m.find()) {
- sb.append(
- StringUtils.join( prefix.concat(m.group(1)).concat(suffix)," | ")
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement