How to match "$" in a string?
I couldnt input "\\$" in layer7 regexpression in terminal, How to deal with it?
I want to make a script, I am blocked on my way for it .
Thanks.
Maybe "\\\$" (if you want to receive "\$" inside the regexp)? First backslash means to leave the second backslash without its "special" meaning. So you need third backslash, that will work on $ . But then you will be looking for "\$". If you want to look for just $ - I think "\$" is enough .