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 7541920 commit 8a66503Copy full SHA for 8a66503
interview_bit/regex/valid email address/input
@@ -0,0 +1,4 @@
1
+abc@example.co.uk
2
+abc@example.com
3
+abc<>@example.com
4
+abc@example@gmail.com
interview_bit/regex/valid email address/script.sh
@@ -0,0 +1,2 @@
+#! /bin/bash
+cat input | grep -Pv '(^|\s)[a-zA-Z][a-zA-Z0-9-_+.]*@[a-zA-Z0-9-]+\.[a-zA-Z]+(\.[a-zA-Z]+)?'
0 commit comments