Search found 2 matches

by XMCQCX
20.12.2020, 01:33
Forum: General Discussion
Topic: Search and replace wildcard filter
Replies: 1
Views: 7310

Re: Search and replace wildcard filter

"yeah I got skills" on Reddit found a solution with powershell.

Code: Select all

Get-ChildItem -LiteralPath 'C:/Path/To/Files/' -File | Rename-Item -NewName { $_ -replace '\b(\d+x\d+)\b', '[$1]' }
by XMCQCX
19.12.2020, 22:34
Forum: General Discussion
Topic: Search and replace wildcard filter
Replies: 1
Views: 7310

Search and replace wildcard filter

Hi,
What is the code I need to rename these files:

Test 1 1920x1080
Test 2 3840x2160 (2)
Test 3 3840x2160

to

Test 1 [1920x1080]
Test 2 [3840x2160] (2)
Test 3 [3840x2160]

I think I found the right code In the search box with:
????x????

But I'm not able to find the right code in the replace box ...