Alexisback wrote: 2022-02-24, 18:22 UTC
Why doesn't this regular expression work?
(?<=.jpg).*
It works...
Code: Select all
Trova: (?<=.jpg).*
Sostituisci con: <Cancella>
1x [✓]
RegEx [✓]
Sostituisci [ ]
Code: Select all
Veccio nome Nuovo nome
-_0qxe-yGro.jpg@size=960x720&quality=96&sign=25ff49e3eaba39ed3ca04908c6f779f4&type=album -_0qxe-yGro.jpg
Help - F1 wrote:1x Only replace the first occurrence of the search string if it appears multiple times in the file name
Help - F1 wrote:Subst. Substitution: The entire file name will be replaced by the characters entered in the "Replace" field.
If this option isn't checked, only the found expression will be replaced.
You can work with subexpressions, see the sample in regular expressions.
HISTORY.TXT wrote:25.03.21 Release Total Commander 10.00 public beta 3
23.03.21 Added: Updated the internal regular expression library to latest version from
https://github.com/andgineer/TRegExpr/ (32/64)
TC (TRegExpr) ==> does support
"Lookaround-Assertions", e.g. "lookahead" and "lookbehind" up from TC 10.00 public beta 3 (25.3.21).
Help - F1 wrote:Important note: The used regex library has a limitation that look ahead must be at the end of the regular expression,
and look behind must be at the start. Otherwise an error will be shown.