In Sublime Text, how to find and replace the file name

advertisements

Is there a way in sublime text where I can find a pattern and replace it with file names.

For example, I have a bunch of file names that contain people.

I want to replace that with person.


Menu: Find -> Find in Files...

Sublime is gonna open a new panel at the bottom, you just need to fill the fields. Inside the field Where, you can, for example, look up only for .txt files:

Find: People
Where: C:\Temp, *.txt
Replace: Person