Unifoce from File names.

A swapping-ground for Regular Expression syntax

Unifoce from File names.

Postby whiteb » Thu Feb 09, 2023 9:55 pm

I came across this utility while looking for a way to remove Unicode from file names, and a thread told me to do this.

[^\x00-\x7F]+/g In the Regex box.

Works great for the most part.

What i found is that it works where the unicode is somewhere inside the filename, but NOT if the unicode is the FIRST character of the file name, it seems to leave them alone.

Example is, ???? Termy, wracaj do domu! Gigantozaur Disney Junior Polska. It will not do that. But if it was Termy, wracaj do domu! ???? Gigantozaur Disney Junior Polska, then it would work.
whiteb
 
Posts: 5
Joined: Thu Feb 09, 2023 9:45 pm

Re: Unifoce from File names.

Postby whiteb » Thu Feb 09, 2023 10:08 pm

Cant find the edit button yet.

Title supposed to be Unicode from file names, And it seems the board strips Unicode from the post :)
whiteb
 
Posts: 5
Joined: Thu Feb 09, 2023 9:45 pm

Re: Unifoce from File names.

Postby therube » Thu Feb 09, 2023 10:34 pm

Is this correct?

Image
therube
 
Posts: 1319
Joined: Mon Jan 18, 2016 6:23 pm

Re: Unifoce from File names.

Postby whiteb » Thu Feb 09, 2023 10:45 pm

Here is a screenshot

Image

I have highlighted some of them, and the Rename box is grayed out.
whiteb
 
Posts: 5
Joined: Thu Feb 09, 2023 9:45 pm

Re: Unifoce from File names.

Postby whiteb » Thu Feb 09, 2023 10:46 pm

whiteb
 
Posts: 5
Joined: Thu Feb 09, 2023 9:45 pm

Re: Unicode from File names.

Postby therube » Mon Feb 13, 2023 6:41 pm

Appears you have a <space> prior to the [.
Remove the <space> & see if that gets you going.
therube
 
Posts: 1319
Joined: Mon Jan 18, 2016 6:23 pm

Re: Unifoce from File names.

Postby whiteb » Tue Feb 14, 2023 5:35 am

Well, I didnt notice that, thanks :)
whiteb
 
Posts: 5
Joined: Thu Feb 09, 2023 9:45 pm


Return to Regular Expressions


cron