I have a quick question about the syntax for wildcards in XyPlorer's "Search and replace" function. I am attempting to remove a series of dates that are in many, many files all in one pass. I have tried using wildcards and just can't seem to get it to work. The syntax that I'm using is:
(197?)/
I've also tried
(197*)/
But "<Unchanged>" is the only message that is displayed in the preview.
Search and replace a series of years using wildcards
-
- Posts: 2
- Joined: 19 Jan 2019 14:12
Re: Search and replace a series of years using wildcards
That search and replace operation doesn't support * or ? as wildcards,
you could use the regexp rename operation instead with e.g.:
or
if you want to be sure that only 4-digit date parts are removed
Make sure you don't miss the spaces in the code tags (best way is to use the: "CODE: SELECT ALL" link above it)!
you could use the regexp rename operation instead with e.g.:
Code: Select all
\(\d+\) >
Code: Select all
\(\d{4}\) >
Make sure you don't miss the spaces in the code tags (best way is to use the: "CODE: SELECT ALL" link above it)!
One of my scripts helped you out? Please donate via Paypal
-
- Posts: 2
- Joined: 19 Jan 2019 14:12
Re: Search and replace a series of years using wildcards
Thank you very much, RegExp replace is exactly what I needed.
Appreciate the help!
Appreciate the help!