I want to generate a regex that will allow the exact string "[TEST]". What is the required regex?
Thanks.
The correct way to do this is as follows:
"\\[TEST\\]"
→ double escape each square bracket