first commit
This commit is contained in:
commit
c127f18953
6
Read file text/script.py
Normal file
6
Read file text/script.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
import re
|
||||||
|
|
||||||
|
text = "Email: admin@example.com"
|
||||||
|
pattern = r"^Email.\s(.*@.*)"
|
||||||
|
match = re.search(pattern, text)
|
||||||
|
print(match.group(1))
|
||||||
4
Read file text/text.txt
Normal file
4
Read file text/text.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
asd
|
||||||
|
asdasf
|
||||||
|
asfafasa
|
||||||
|
asfafasa
|
||||||
Loading…
x
Reference in New Issue
Block a user