Please ! Use [CODE] tags for your LINKS and CODE.
Favor usar balisas [CODE] para sus vínculos y código.
Merci d'utiliser les balises [CODE] pour vos liens et code.

URL Resolver (elD.) [GIT]
URL Resolver (tvA.) [GIT]
Jx Update [REDIRECT]
*** Associated ***
Pastebin Your list online
mediafire Upload Files
imgur Upload Pics
lyngsat TV logos collection
transparent .png
. free? VPN
Hola.apk free? VPN App.
hidester- free Proxy
webgrabplus EPG - Eng
xmltv EPG - Fr
kazer EPG - Fr
.wordreference Traduction
. (fast sign-in)
Latest topics
» Where is my community ? WANTED : GEEKS !
Fri 5 Jan - 18:00 by jujuuj

» Show image
Fri 29 Dec - 9:29 by jujuuj

» list sorting by watched
Wed 20 Dec - 19:03 by vbprofi

» Need to Help for the 3 regex
Thu 14 Dec - 16:32 by beezlo

» how I can fix that?
Wed 13 Dec - 0:33 by vbprofi

» Link sharing post gone from TVadd°n
Tue 12 Dec - 5:54 by jujuuj

» Where to put your list
Sun 10 Dec - 2:20 by mahox



créer un forum

limit regex results

View previous topic View next topic Go down

limit regex results

Post by geetee on Fri 23 Jun - 21:14

I want to limit the results from a regex.
Is there a way to regex the file until it finds a certain string and then stop.

Lets say I have this m3u list as an example
group-title=“ENGLISH STOP HERE” http:null.m3u8

then using
I can grab all the links, but is there a way to just grab the links up to "STOP STOP" and ignore the rest?



Messages : 7
Date d'inscription : 2017-05-28

View user profile

Back to top Go down

Re: limit regex results

Post by Admin on Sat 24 Jun - 2:18

you'll need two clics instead of one ...

in makelist1
<expres>(?s)(#EXTINF.*?)#EXTINF:-1, STOP STOP</expres>

in makelist2

Another solution is to use python, but ... not so easy ...


Messages : 36
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: limit regex results

Post by solved on Tue 27 Jun - 0:26

let's say it is solved as we have no news ...


Messages : 35
Date d'inscription : 2017-06-27

View user profile

Back to top Go down

Re: limit regex results

Post by Sponsored content

Sponsored content

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum