Groovy web console

subscribe to the feed Subscribe
to this
site

sdfklsjdflkj

Published 2 months ago by Anonymous
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
articleUrl = 'http://tagaday.integration64.edd/folders/888307?token=QrbNL_5qEON-ajmt052bilxLeZ-aemKLC7Dhc3qtG9k&document=0%7C0716%7CMAIN%7Carticles%7Carticle_0000_481453b594ce737e8ee52876fea424b4.xml&format=mediadoc'
destroyedUrl = articleUrl.replaceFirst(/&document=.{10}/, '&document=')
System.out.println(destroyedUrl)