Hi, it's not working the way you want because the first thing the spell checker does is split the text into 'words'. Then as it looks at each 'word' it applies the regex to see what will be ignored.
I'm not sure of the context of what you're doing (how you're using 'checker') but you could possibly replace all matches of [....] with spaces in your text, and then spell check that?
It is possible to subclass the RapidSpellChecker and AdvancedTextBoundary classes to change the behaviour but for you I think the above is simplest. Although superficially
https://keyoti.com/kb/De...uestId=147&catId=62 looks similar to what you want, it isn't because it still won't work across multiple words.
-your feedback is helpful to other users, thank you!