Author Topic: rename anything with regex  (Read 131 times)

0 Members and 1 Guest are viewing this topic.

jtm2018hyo

  • Newt
  • Posts: 60
rename anything with regex
« on: December 02, 2019, 10:28:28 AM »
I found a vlx (rrename) that rename block, layer, etc. with regex, but I tried to rename with "find (.+)(a|b|c) replace $2$1" but does not works.

link: https://www.cadforum.cz/cadforum_en/rename-on-steroids-complex-renaming-of-autocad-objects-tip9265

so maybe I'm doing something bad (teach me please to use it).

but I think that maybe can be possible rename anything with any excel or text file? (equivalent to TABLE command linking table to excel file)

VMichl

  • Mosquito
  • Posts: 3
Re: rename anything with regex
« Reply #1 on: December 02, 2019, 04:43:41 PM »
It works for me. Your find/replace codes do rename e.g. "LayerA" to ALayer" and "LayB" to "BLay". Do you expect this type of renames?

ronjonp

  • Needs a day job
  • Posts: 7056
Re: rename anything with regex
« Reply #2 on: December 02, 2019, 05:23:17 PM »

Windows 10 x64 - AutoCAD /C3D 2020

Custom Build PC