Groovy web console

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

quotes

Published 3 months ago by Sanket
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def x = '"Sanket", ""Parab"". ""Hello". """Hi"", """"Test 4""""'

x.replace('"', '""').replaceAll(/[""]+/, '""')