^ asserts the start of the string.
[A-Za-z\s]+ matches one or more letters or spaces.
\( matches the opening parenthesis.
[A-Za-z]{3,} matches three or more letters (assumed to be the inside string you mentioned).
\) matches the closing parenthesis.
$ asserts the end of the string.
1条答案
按热度按时间esyap4oy1#
在
JavaScript
中:模式说明: