java - what regular expression can match the [ and ] characters? -


I'm trying to change the Java method, replace all (), all the characters that match a given reg ,

Therefore, I need to use it as a paragraph that matches [and].

I have tried [[| ] Or ([|]) but they do not work.

You need to avoid them:

  \ [and \ ]  

Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

python - mayavi mapping a discrete colorbar on a surface -