![]() To rearrange parts of a filename, you can reference capturing groups in the replace text.įor example, if you had files that all ended with a 2-digit number and you wanted to move it to the beginning, your search text may be in the form (.*)(\d\d) and you could replace it with $2$1 where $2 is the second capturing group, (\d\d), and $1 is the first capturing group, (.*). Just make sure to click the box for "Use Regular Expressions." If you want more complex replacements, such as matching several different words or characters, reordering parts of the filename, or duplicating sections, you can do that with Regular Expressions.įor example, to match the words "Lab" or "Lecture" in a filename, we can use (Lab|Lecture) in our search text. To make a simple word replacement, you can type the word to search for in the first box, the word to replace it with in the second box, preview the results, and click "Rename". Once you click that, you should see a popup come up with a search box, replace box, some options, and a preview. Once it's installed, you should be able to see PowerRename as an option in your Right-click menu when selecting files in your File Explorer. You can install PowerToys by heading to this link and downloading the executable for the latest release (as of writing this, it's called PowerToysSetup-0.31.2-圆4.exe)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |