I have many lines like this :
#EXTINF:-1 tvg-name="test" tvg-logo="http://somsite.com/test.png" group-title="stars",test
Name=sun_SEASON/STAR_NOVA&title=galaxy
and want to change it to :
#EXTINF:-1 tvg-name="test" tvg-logo="http://somsite.com/test.png" group-title="stars",test
Name=sun_SEASON&title=galaxy
removing everything between Season/ AND &
i tried to use this search for :
SEASON/[^<>]+&title=galaxy
and replace with:
SEASON&title=galaxy
But it didnot work! could any one tell me what i am doing wrong ?
SEASON(/[^&]+)&title=galaxy
delete $1
or
(?<=Name=sun_SEASON).*?(?=&)
delete
How about:
(?<=SEASON)[^&]+(?=&)
NOTHING
This will replace by nothing (ie delete) everything that is between SEASON
and &
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.