I know JavaScript regular expressions can ignore case for the entire match, but what about just the first character? Then hello World! would match Hello World! but not hello world!.
I know JavaScript regular expressions can ignore case for the entire match, but what
Share
Do it another way. Force the first character of your data string to lower case before matching it against your regular expression. Here’s how you’d do it in ActionScript, JavaScript should be similar: