Replace Without Add Space

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
lfan
Junior Member
Junior Member
Posts: 5
Joined: 2019-02-02, 14:32 UTC

Replace Without Add Space

Post by *lfan »

Hi!

I want to search and replace without add space.

--------------------------------------------------------------

Old name: Ace of Aces (Brazil)

Search for: (Brazil)
Replace with: -01

New name: Ace of Aces-01

--------------------------------------------------------------

Old name: Street Master (Korea) (Unl)

Search for: (Korea) (Unl)
Replace with: -01

New name: Street Master-01

--------------------------------------------------------------

Thanks!
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Replace Without Add Space

Post by *Stefan2 »

Hi.

Just
Search for: #(Brazil)
Search for: #(Korea) (Unl)



But instead of the #-sign, add a space in your search query.





 
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Re: Replace Without Add Space

Post by *tbeu »

Search for: "( \(.+)"
Replace with: "-01"
Enable RegEx: ☑
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
lfan
Junior Member
Junior Member
Posts: 5
Joined: 2019-02-02, 14:32 UTC

Re: Replace Without Add Space

Post by *lfan »

Only the tbeu's code worked.

Thanks, Stefan2 and tbeu!

:D
Post Reply