Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-06-07 04:08
Flavor·PCRE2 (PHP)

/
^#EXTINF:.+,\s*(?<channel>.*HD.*)$(?<bullshit>\r?\n.*)?\r?\n(?<url>^https?:\/\/.*$)
/
gmi
Open regex in editor

Description

$1 or $channel = channel name $2 or $bullshit = text to ignore $3 or $url = channel url

"HD" inside of <channel> group is search string to find all channels (with their urls) which names contain it. Feel free to play around with it.

Submitted by https://axenov.dev