Why the parenthesis in the regular expression is not shielded?

There is a conditional chemical reaction

NH3 + K[Al(OH)4] + NaCl

try using the regular expression /\bK\[Al\(OH\)4\]\b/i find in it the substance of the K[Al(OH)4] . The first bracket [, screened, and second ] no. How to fix it?
April 7th 20 at 11:58
1 answer
April 7th 20 at 12:00


Find more questions by tags Regular expressions