# Process group detection rules, extracting the identifier

**URL:** <https://community.dynatrace.com/t/process-group-detection-rules-extracting-the-identifier/22364>\
**Category:** Open Q&A\
**Tags:** process-groups\
**Created:** [October 22, 2019, 8:47am UTC](https://community.dynatrace.com/t/process-group-detection-rules-extracting-the-identifier/22364 "2019-10-22T08:47:33Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![kalle\_lahtinen](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kalle\_lahtinen](https://community.dynatrace.com/u/kalle_lahtinen)\
**Post date:** [October 22, 2019, 8:47am UTC](https://community.dynatrace.com/t/process-group-detection-rules-extracting-the-identifier/22364/1 "2019-10-22T08:47:33Z")

</div>

Hi,

I have some WAS processes which are named in a way that’s difficult for Dynatrace to properly group them. I’m using the attribute “WebSphere server” for this. There’s first a version number in the middle, and then in the end a node number. So e.g.:

NAME\_01\_APP\_01

The NAME is a constant for all processes, and I’m using that as the starting delimiter (“NAME\_”). So from this, I’d like to extract “01\_APP” as the process group. My question is, if I define the end delimiter as \_0, does it then pick the first \_0 or the last \_0? So which direction is it reading the string from, from the left or from right?

Since there’s no preview function available and these only take place after a restart, it’s not so straightforward to test… if someone has the info, I’d appreciate it 🙂

---

_[View the full topic](https://community.dynatrace.com/t/process-group-detection-rules-extracting-the-identifier/22364)._
