JDownloader Community - Appwork GmbH
 

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10.08.2023, 22:45
Student im ersten Jahr Student im ersten Jahr is offline
Black Hole
 
Join Date: Nov 2020
Posts: 268
Default Regex Chinese/English issue

What regular expression for a file name beginning with A-Z excluding the beginning of a Chinese letter?
Looking for (File Name / Downlaods and LinkGrabber)
My expression doesn't work perfectly because it ignores all Chinese.
It seems to be very complicated.

English "Artist" - "Title" English/Chinese(mixed language)

Code:
^[A-Za-z][^一-龯]*$
Spoiler:
Include:
En - 间 (Summer).mp3

Exclude:
政香 - 香烟火柴 (Dj柳).mp3

This also ignores most Chinese, but also only includes some correctly:
Code:
^(?![一-龯])[A-Za-z]

Last edited by Student im ersten Jahr; 10.08.2023 at 22:50.
 

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 08:17.
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.