Does anyone have a lisp or is anyone able to point me in the right direction for creating a lisp that will do accomplish the following. Currently, I have a drawing with multiple layers that have been prefixed with a drawing name (These were xref's that have been bound to the drawing I am working with.) There are several 'similar' layers which I would like to merge into the same layer. The difference between the layernames is the prefix portion. Is there a way to automate this process as typing in all the layer names is a time consuming process. For example, I have a drawing with layers named: UNIT-A-1</body>$A-BALCONY UNIT-A-1</body>$A-COLUMN UNIT-A-1</body>$A-RAIL UNIT-B-1</body>$A-BALCONY UNIT-B-1</body>$A-COLUMN UNIT-B-1</body>$A-RAIL UNIT-C-1</body>$A-BALCONY UNIT-C-1</body>$A-COLUMN UNIT-C-1</body>$A-RAIL UNIT-D-1</body>$A-BALCONY UNIT-D-1</body>$A-COLUMN UNIT-D-1</body>$A-RAIL I would like them combined into layers A-BALCONY A-COLUMN A-RAIL (this is only a small portion of the actual layer list) TIA Casey