|
#1
|
|||
|
|||
Regular Expressions Syntax JD2 - Search name
Regular Expressions Syntax - Search name, not work for me
Code:
- !" - " !" - " - = search for a literal - ! = NOT |
#2
|
||||
|
||||
I don't know why you think that ! is NOT. Because ! is just !, that's it. You can check on regex101.com
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
Begin Quote and End Quote Regex
\Q-\E I want find "-" without spaces and only between words. Languard-pack.pdf Snow - pack- -.pdf |
#4
|
||||
|
||||
For example: \w+-\w+
__________________
JD-Dev & Server-Admin |
#5
|
|||
|
|||
No exact match for some names.
six-1-a.pdf six-1-a-1.pdf a-six1-a-.pdf |
#6
|
||||
|
||||
Please , learn regex for yourself. if you don't want numbers, then use
[a-zA-Z]+-[a-zA-Z]+
__________________
JD-Dev & Server-Admin |
#7
|
|||
|
|||
|
#8
|
||||
|
||||
Quote:
__________________
JD-Dev & Server-Admin |
#9
|
||||
|
||||
[a-zA-Z0-9\-]+\.pdf
please educate yourself with guides/books/online material/websites that help you write regular expressions against content that you want to match against. seriously no more questions about regex patterns. raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
Thread Tools | |
Display Modes | |
|
|