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

0 Members and 1 Guest are viewing this topic.

jtm2020hyo

  • Newt
  • Posts: 198
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: 8
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: 7527
Re: rename anything with regex
« Reply #2 on: December 02, 2019, 05:23:17 PM »

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC