Skip to primary content

Phaisarn Sutheebanjard

blog.phaisarn.com

Phaisarn Sutheebanjard

Main menu

  • Home
  • .NET Core
  • Android
  • Ionic3

Post navigation

← Previous Next →

ตรวจสอบหารายชื่อ email จาก text

Posted on 13 March, 2011 by jack

[code lang=”python”]
import re
email = re.findall("\w+\@\w+\.\w+", text)
if m:
print m
# return list
[/code]

ที่มา: http://docs.python.org/library/re.html

This entry was posted in Python and tagged e-mail by jack. Bookmark the permalink.
Proudly powered by WordPress