commit c127f189539595af46816a245437680174c6e9b3 Author: unknown Date: Thu Nov 13 13:15:40 2025 +0700 first commit diff --git a/Read file text/script.py b/Read file text/script.py new file mode 100644 index 0000000..c77197c --- /dev/null +++ b/Read file text/script.py @@ -0,0 +1,6 @@ +import re + +text = "Email: admin@example.com" +pattern = r"^Email.\s(.*@.*)" +match = re.search(pattern, text) +print(match.group(1)) diff --git a/Read file text/text.txt b/Read file text/text.txt new file mode 100644 index 0000000..e38a1d7 --- /dev/null +++ b/Read file text/text.txt @@ -0,0 +1,4 @@ +asd +asdasf +asfafasa +asfafasa \ No newline at end of file