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?
https://regex101.com/r/Fv6Qc9/2
April 7th 20 at 11:58
1 answer
April 7th 20 at 12:00
Solution
\bK\[Al\(OH\)4\](?=\s|\b)

https://regex101.com/r/Fv6Qc9/3

Find more questions by tags Regular expressions