Groovy web console

subscribe to the feed Subscribe
to this
site

test

Published 2 months ago by mecun
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
input = '<span class="busjustformat">[07/30/19 UTC -XXX XXXX(XXXXXXXXX)] this is a test just -- 0001 </span>'

print input.substring(input.indexOf(']') + 1, input.indexOf('</')).trim()