regex101 by default uses the php regex engine, while FCC uses browser(js) regex engine. Not sure even the js option in regex101 uses local(browser) js engine. you may try https://regexr.com/ also that uses local browser I think.
First, this [A-Za-z][A-Za-z]+ could be in something smaller(more logical) as [A-Za-z]{2,}
Also as you specified /i as case insensitive, so A-Z also is redundant, so it could be[a-z]{2,}
Just as @Tomvbe and @BenGitter stated(which I didn’t know too, thanks) seems like the g flag is the tip.