Regular Expressions 101

Library entries

Frisky radio show parsing pattern

Vote

0

Regular Expression
python

"
(?P<main_title>^[A-Za-z]+)\s?\|\s?(?P<show_title>.*[^\s])\s?-\s?(?P<date>[a-zA-Z]+\s\d+)\s?-\s?(?P<show_artist>\w+\s?\W?\w+)
"
g

Description

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