Replace Without Add Space

English support forum

Moderators: Stefan2, white, sheep, Hacker

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

Replace Without Add Space

Post by *lfan » 2019-02-02, 14:48 UTC

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: 2395
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Replace Without Add Space

Post by *Stefan2 » 2019-02-02, 16:43 UTC

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: 1228
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Re: Replace Without Add Space

Post by *tbeu » 2019-02-02, 16:44 UTC

Search for: "( \(.+)"
Replace with: "-01"
Enable RegEx: ☑
TC plugins: Autodesk 3ds Max Preview, Autodesk Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, SolidWorks Preview and more

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

Re: Replace Without Add Space

Post by *lfan » 2019-02-02, 17:00 UTC

Only the tbeu's code worked.

Thanks, Stefan2 and tbeu!

:D

Post Reply