regex search

what pattern do i add into regex search to check for [ ] in strings?

https://regex101.com/

nice site to try out your regex expressions.

i believe you have to put a \ before it bytheway.

Maybe this cheat-sheet can help you

https://www.rexegg.com/regex-quickstart.html


Hi Joveen,

    anywhere in string [ or ]

    /[[\]]/g

    Exact match in string 

    /[[]]/ig


i hope this helps

Hi Jovan,

You use the escape character backslash: \[ for [ and \] for ]. However, like others pointed out above, a simple Google search would've gotten you the answer (in less time than posting on the forum).