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

python - Strange behavior using PyQt4's 'pyqtSlot' decorator before another decorator -

c# - UnhandledExceptionMode.ThrowException for AppDomain.UnhandledException -

c# - Process.Kill() returns access denied -