New CADforum look launched.
Over 1.082.000 registered users (EN+CZ). New 1D nesting and 3D nesting tools, updated Color converter. New AutoCAD 2025 commands and variables. Learn about twiGIS.
Over 1.082.000 registered users (EN+CZ). New 1D nesting and 3D nesting tools, updated Color converter. New AutoCAD 2025 commands and variables. Learn about twiGIS.
CAD tip # 3229:
Question
A
To search and replace substrings or complete texts in an AutoCAD drawing, including an option to use scripts and replace texts (and dimtexts and attribute texts and multileaders) in many DWG files at once, you can use the free/trial CADstudio's utility - srxTEXT. For search and replace you can also use regular expressions and perform even complex text replacements of the type:
D19-457-03667 --> Part:457/03667 Code:D19
or add strings to the beginning or to the end of your texts or individual words, or replace only a single/first occurrence of a substring, etc.
You can also use scripts to replace texts in multiple drawings (batch mode). Replace strings defined by search-replace pairs loaded from an Excel table (CSV file; the srxTextCSV command).
More details on srxText. This utility can be downloaded from Download, see also www.cadstudio.cz/developuk.
ACAD2025ACAD2020ACAD2004ADTMapMDT
*CAD
31.7.2003
48007×
FAQ
applies to: AutoCAD 2025 · AutoCAD 2020 · AutoCAD 2004 · AutoCAD Architecture · AutoCAD Map 3D · MDT ·