Community Patterns

Community Library Entry

0

Regular Expression
Created·2020-03-16 09:57
Flavor·PCRE (Legacy)

/
(?!^\*)+?(?:^\W*\r*)(?<country>[\w]{0,1}[^\r\n])(?:[^\w*]+)(?<channel>[\w?,'\"\-_ ]*(?<![^\w?!])).*?(?<tag>\w*$)|(?<channel2>^[\w?,'\"\-_]+(?<![^\w?!]))[^\w\r\n\*\t\f\v]*(?<tag2>\w+$)?
/
mg
Open regex in editor

Description

Get parts of an IPTV playlist

Submitted by anonymous