我已经试过这段代码:
/[m,r,k]/
在这种情况下,我想检查字符串是否包含所有三个字符m,r,k。顺序并不重要。
m,r,k
javascript regex string-matching
javascript ×1
regex ×1
string-matching ×1