Hi, again.
I found a topic in this forum and I tested the code, but I think I don't know how to use some methods very well, like "replace all". Topic is:
https://coderanch.com/t/411621/java/java/Pattern-matches-but-never-replaces Using that code, when I look for "void myMethod(){}" works well, but if I change the text to multiple lines, it doesn't work.
"
void myMethod()
{
}
"
I'm posting the code that I tested.