themaCreator http://creator.themasoftware.com/forum/ |
|
Avoid char combinations when randomizing names. http://creator.themasoftware.com/forum/viewtopic.php?f=3&t=7433 |
Page 1 of 1 |
Author: | stachoomed [ April 18th, 2023, 7:11 am ] |
Post subject: | Avoid char combinations when randomizing names. |
Hi Freddy, In TC I'm using feature of randomize file name when uploading files. I'm using letter and numbers. From time to time some files where bloced after uploading. Short investigation showed that the combination of number and "yo" makes file to be blocked. Example: hb1xxvu233mj60o355yo4c.mp4 has 5yo as a part of name which is considered as 5 years old. That's why the file is blocked. So my question is: if it's possible to have the feature to ban some combinations for randomizing file name? As in this example I would like to ban phrase "yo", not all the letters or numbers. |
Author: | Freddy [ April 18th, 2023, 9:20 am ] |
Post subject: | Re: Avoid char combinations when randomizing names |
Hi, you can do this with replacements. In "REPLACEMENTS" -> "Subject" tab -> choose "Apply to" as "Filename" and add a simple replacement: Search for: Code: yo Replace with: Code: (leave empty) Or you can even combine multiple combinations with a single regex replacement: Search for: Code: (yo|ho|bo|etc|etc) Replace with: Code: (leave empty) Enable regex search. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |