We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e7c886 commit 93d0927Copy full SHA for 93d0927
193.valid-phone-numbers.sh
@@ -0,0 +1,8 @@
1
+# https://leetcode.cn/problems/valid-phone-numbers/
2
+# Date: 2023.08.04
3
+# Pass/Error/Bug: 1/3/0
4
+# 执行用时: 8 ms, 击败 19.03% 使用 Bash 的用户
5
+# 内存消耗:3.02 MB, 击败 60.66% 使用 Bash 的用户
6
+
7
+# Read from the file file.txt and output all valid phone numbers to stdout.
8
+grep -E '^(\([0-9]{3}\)\ |[0-9]{3}-)[0-9]{3}-[0-9]{4}$' file.txt
0 commit comments