I have a problem with my regex, which should detect all echo
functions in a string. So right now I have this expression:
/echo(.|\n)*?\(?"(.|\n)*"\)?;/g
This works until you make a break line in the quotes. If you do that, it would match the whole code until the end, as you can see in the picture:
You can get it here.
What did I wrong? What do I have to change?