JDownloader Community - Appwork GmbH
 

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 04.07.2015, 23:01
pfanne
Guest
 
Posts: n/a
Default regex "and not"

hi,

ich versuche mich gerade an dem paketverwalter und habe schwierigkeiten mit "and not"

angenommen ich habe
**External links are only visible to Support Staff****External links are only visible to Support Staff**

und ich will alle quell-adressen, die "youtube" enthalten, aber nicht "pewdiepie"

quell-url enthält (regex aktiviert)
(youtube) !(pewdiepie)

klappt nicht. ich habe auch keine doku dazu gefunden, vielleicht bin ich blind. ich habs auch mit ^ versucht, verschiedene klammerungen, &, &&, was weiß ich... tatsächlich habe ich nicht mal so etwas geschafft wie

quell-url enthält
!sadmnfbsdk

was, sollte die syntax richtig sein, so ziemlich alles matchen sollte.
  #2  
Old 05.07.2015, 02:47
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,614
Default

source contains, with regex
youtube\.com/(?!user/PewDiePie).+
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
  #3  
Old 05.07.2015, 11:37
pfanne
Guest
 
Posts: n/a
Default

worked, thanks
  #4  
Old 05.07.2015, 12:41
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,614
Default

Your welcome
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 06:07.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.