js regular removes limit characters, specific characters

/(正确答案:)?[A-Z]/;

"Correct answer: A", matching result "A"

Guess you like

Origin blog.csdn.net/JOB66/article/details/109675526