Example, I have a file that contains many many of the next:
"xxxxxx".toLowerCase()
xxxxxx
- some text with variable length.
I want to replace it with:
castlowercase("xxxxxx")
I don't find how to make a regular expression. It's better to take everything between ( ) cause there may be some variable, not just a string...