Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
^(http[s]?:\/\/)([\d\.\-A-z0-9]{1,})(:[0-9]{2,5})?\/(get\.php|player_api\.php|xmlrpc\.php)\?username=([A-z0-9\-\_]{1,})&password=([A-z0-9\.\_\=\+\(\)]{1,})$
/
gm

Description

Matches the M3U links provided by Xtream servers to stream IPTV

Submitted by Ɒ○ꝑẹЄпс○ὔпדּẹꭆ - 8 months ago