# Find and replace string in material names

**URL:** <https://forum.dynamobim.com/t/find-and-replace-string-in-material-names/93787>\
**Category:** Revit\
**Created:** [September 15, 2023, 6:31am UTC](https://forum.dynamobim.com/t/find-and-replace-string-in-material-names/93787 "2023-09-15T06:31:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter-Christensen](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@Peter-Christensen](https://forum.dynamobim.com/u/Peter-Christensen)\
**Post date:** [September 15, 2023, 6:31am UTC](https://forum.dynamobim.com/t/find-and-replace-string-in-material-names/93787/1 "2023-09-15T06:31:11Z")

</div>

I use a prefix to identify materials created by my company, so I can easily find and delete other materials. I’d like to change the prefix from ‘CIP-’ to ‘\*’

Here’s my attempt at a graph, but nothing seems to happen. No errors either. Just nothing.

Thanks

Dynamo Core 2.17.0.3472  
Dynamo Revit 2.17.0.7404

 ![Screenshot 2023-09-15 162138](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/7/b729c87f71a11027b4b7838d798d667006303b97.png)

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [September 15, 2023, 7:47am UTC](https://forum.dynamobim.com/t/find-and-replace-string-in-material-names/93787/2 "2023-09-15T07:47:54Z")

</div>

@Peter-Christensen ,

i am not sure this is the way…

 ![grafik](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/8/18a486d7766bd1576168cf7aa2941682755f9d6d.png)

you will need SetName

KR

Andreas
