Regex with conditional replacement

前端 未结 0 1215
感动是毒
感动是毒 2020-12-16 15:08

I need to write a regex to validate phone numbers with the following criteria:

Return the input as-is if it\'s fewer than 7 digits. Otherwise, remove the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题