正则

校验含有某一个字母或数字的,正则表达式这样写:/[b]/g (校验含有字母“b”的)

原文地址:https://www.cnblogs.com/shirly77/p/6443178.html