[英]Regex for Phone numbers validation using python
I want to remove phone numbers only in the format 248-524-9344 I'm using我只想删除我正在使用的 248-524-9344 格式的电话号码
r"\(?(\d{3})\)?[ .-]?(\d{3})[ .-]?(\d{4})"
but it removes incident number 191112-000475但它删除了事件编号 191112-000475
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.