# Substring of a placeholder

**URL:** <https://community.dynatrace.com/t/substring-of-a-placeholder/35668>\
**Category:** Open Q&A\
**Tags:** tagging, naming-rules\
**Created:** [June 29, 2022, 12:31pm UTC](https://community.dynatrace.com/t/substring-of-a-placeholder/35668 "2022-06-29T12:31:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![AlexOsbourn](https://avatars.discourse-cdn.com/v4/letter/a/8e8cbc/32.png) [@AlexOsbourn](https://community.dynatrace.com/u/AlexOsbourn)\
**Post date:** [June 30, 2022, 3:15pm UTC](https://community.dynatrace.com/t/substring-of-a-placeholder/35668/2 "2022-06-30T15:15:11Z")

</div>

When using placeholders, if you specify a forward slash (/) before the closing curly-bracket, you can use regex immediately after it. For example:

If your value is&nbsp;&nbsp; **DockerStrippedname=docker/microservice** and you want to capture everything after the&nbsp; **=** , you would enter your placeholder like:

**{ProcessGroup:dockerstrippedname/^[^=]\*=(.\*?$)}**

(I’m not too great at regex so there is probably a better way to do that).

---

_[View the full topic](https://community.dynatrace.com/t/substring-of-a-placeholder/35668)._
