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.
我正在尝试创建一个强制字符串匹配此格式的正则表达式模式:A99.9。(字母、数字、数字、句点、数字)。我正在尝试将其构建到 Master Data Services 中的业务规则中。有人有什么想法吗?
https://regex101.com/
复制+粘贴/[A-Z][0-9]+\.[0-9]+/确保选择不敏感;(所以 /[AZ][0-9]+.[0-9]+/)你有什么想尝试的其他格式吗?真的只有A99.9、B88.8、C77.7等等吗?
/[A-Z][0-9]+\.[0-9]+/