Regular Expressions 101

Library entries

big list grab

Vote

0

Regular Expression
python

"
(?:\“(?P<title>\w.*)\”)\s?(?:(?:(?P<season>\d{2})\s(?P<type>\w.*))|(\w.*))\s\W\s(?P<network>\w.*)?\n\s?(?:\d{2}-\d{2}-\d{2})..\n(?P<prod_comp>\w.*)\n(?P<address>\w.*)\n\s(?P<email>\w.*\@\w.*\.\w{2,3})\nPHONE:\s(?P<phone>\d{3}-\d{3}-\d{4})\nSTATUS:\s(?P<start>\w.*\d{4})\sLOCATION:\s(?P<location>\w.*)\nPRODUCER:\s(?P<prod>\w.*)\sWRITER:\s(?P<writer>\w.*)\n
"
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago