Search DaTutorials:  
HOME
VB Script Tutorials
Introduction
Reference
Tutorials

Expected ']' in regular expression

You attempted to create a character class for a regular expression match, but did not include the right bracket. Individual literal character combinations can be assembled into character classes by placing them within brackets. A character class matches any one character it contains. For example, /[abc]/ matches any one of the letters “a”, “b”, or “c”.

To correct this error

  • Add the right bracket to your regular expression.

See Also

Regular Expression (RegExp) Object


     Home Loan | MPAA | Guitar Books | Car Credit | Credit Card Application
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp