I need a help in escaping in groovy
I have some string in text file like this #$commonTomcat620.max_threads$# These value i have to replace in run
You have a couple of options to escape the dollar sign:
This works (with dollar-slashy strings):
def str = $/#\$$commonTomcat620.max_threads\$$#/$
Or this (with single quote strings):
def str = '#\\$commonTomcat620.max_threads\\$#'
Other options probably exist too