We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3fc5fd commit d45452bCopy full SHA for d45452b
regular_expression/re_demo3.py
@@ -0,0 +1,8 @@
1
+import re
2
+
3
+# https://regex101.com/
4
+pattern = re.compile(r"[A-Za-z0-9$%#@]{7,}[0-9]")
5
+mystring = 'accd1234'
6
7
+a = pattern.fullmatch(mystring)
8
+print (a)
0 commit comments