Groovy web console

subscribe to the feed Subscribe
to this
site
FindAllTest (via #groovywebconsole)
tweet this snippet Tweet
this
script

FindAllTest

Published 1 month ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def cp = "12345:6,,,,1234:54xcv123xxx222222:222"
cp = cp.findAll(/(\d+:\d+)/).join(' ')
println cp