Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想制作仅以 4 和 5 开头并具有三个长度字符串的正则表达式
包括第一个数字 4 和 5。
like "455" like "555"
谢谢.......
像这样的东西?
/^[45]\d{2}$/
例子