Ho bisogno di una espressione regolare per cambiare una serie di titoli tradotti da:
serie telefilm (st. 1 h264) mio 10ep
in:
serie telefilm (prima stagione)
Come posso fare?
grazie!
I need a regular expression to change a series of translated titles from:
serie telefilm (st. 1 h264) mio 10ep
in:
serie telefilm (prima stagione)
How can I do it?
Thank you!
I need regular expression
-
- Posts: 14
- Joined: 2020-01-23 16:50:03
Re: I need regular expression
Jeśli chodzi Ci o zmianę nazw kilkudziesięciu plików to najprościej dal Ciebie będzie uźyć programu totalcommander i tam zanaleść "Narzędzie wielokrotnej zmiany" (CTRL+M)
A jeśli dodajesz pojedyńczo do swojej bazy danych programu AMC to w ustawieniach programu masz w opcjach (Preferencje - F10) tam po lewo znajź napis
"Film / Dodatkowe informacje" i dwa pola niżej "Import plików multimedialnych" wtedy po prawej kliknij przycisk "Filtrój nazwę pliku"
W nowo otwartym oknie będziesz mógł dodać własne regóły nazw plików.
If you want to change the names of several dozen files, the easiest way for you will be to use the totalcommander program and find the "Multiple rename tool" there (CTRL + M)
And if you add the AMC program individually to your database, in the program settings you can find the inscription in the options (Preferences - F10) on the left.
"Movie / Additional information" and two fields below "Import media files" then on the right click the "Filter file name" button
In the newly opened window you will be able to add your own filename rules.
A jeśli dodajesz pojedyńczo do swojej bazy danych programu AMC to w ustawieniach programu masz w opcjach (Preferencje - F10) tam po lewo znajź napis
"Film / Dodatkowe informacje" i dwa pola niżej "Import plików multimedialnych" wtedy po prawej kliknij przycisk "Filtrój nazwę pliku"
W nowo otwartym oknie będziesz mógł dodać własne regóły nazw plików.
If you want to change the names of several dozen files, the easiest way for you will be to use the totalcommander program and find the "Multiple rename tool" there (CTRL + M)
And if you add the AMC program individually to your database, in the program settings you can find the inscription in the options (Preferences - F10) on the left.
"Movie / Additional information" and two fields below "Import media files" then on the right click the "Filter file name" button
In the newly opened window you will be able to add your own filename rules.
Re: I need regular expression
It seems I missed your post, sorry.fulvio53s03 wrote: ↑2024-01-28 18:52:06 I need a regular expression to change a series of translated titles from:
serie telefilm (st. 1 h264) mio 10ep
in:
serie telefilm (prima stagione)
How can I do it?
Assuming you want to keep what is before the parenthesis, in case you still need it, the following regular expression could be used:
(.+) \(.+
And using "$1 (prima stagione)" as replacement.
-
- Posts: 744
- Joined: 2007-04-28 05:46:43
- Location: Italy
Re: I need regular expression
Thanks, it is perfect.
It seems to me that there are various types of encoding for regular expressions.
Where can I find a guide with examples to use them in AMC scripts?
It seems to me that there are various types of encoding for regular expressions.
Where can I find a guide with examples to use them in AMC scripts?
Re: I need regular expression
Normally those used in AMC are quite standard.
If you combine the info provided in "Technical info for scripts" in the Help file and some basic guides for regular expressions, you should be able to get it working easily
If you combine the info provided in "Technical info for scripts" in the Help file and some basic guides for regular expressions, you should be able to get it working easily
-
- Posts: 744
- Joined: 2007-04-28 05:46:43
- Location: Italy
Re: I need regular expression
Do you think that this site and its page:
https://www.regular-expressions.info/examples.html
could be a good starting point?
https://www.regular-expressions.info/examples.html
could be a good starting point?
Re: I need regular expression
Probably, yes, I think I already passed by that one when searching specific info.
Otherwise what is often useful also is what you find by searching regex cheat sheet, you have a condensed version of all characters that can be used. But you need already a basic knowledge of how they work.
Otherwise what is often useful also is what you find by searching regex cheat sheet, you have a condensed version of all characters that can be used. But you need already a basic knowledge of how they work.
-
- Posts: 68
- Joined: 2015-06-30 22:25:21
Re: I need regular expression
I use a program called Renamer Lite, free from den4b.com
It utilises regex to batch rename files.
Fast and accurate and brilliant
It utilises regex to batch rename files.
Fast and accurate and brilliant
-
- Posts: 744
- Joined: 2007-04-28 05:46:43
- Location: Italy
Re: I need regular expression
I don't need to rename files but to "change" strings (even field "File Path") inside a movie in AMc catalog.
To rename files there is also Ant Renamer.
Thanks anyway.
-
- Posts: 68
- Joined: 2015-06-30 22:25:21
Re: I need regular expression
Aha I misunderstood sorry