# RegEx in Automated Decisions

**URL:** <https://discuss.rapid7.com/t/regex-in-automated-decisions/27993>\
**Category:** InsightConnect\
**Tags:** workflow-building\
**Created:** [September 28, 2023, 7:18pm UTC](https://discuss.rapid7.com/t/regex-in-automated-decisions/27993 "2023-09-28T19:18:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael\_cochran](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/m/91b2a8/32.png) [@michael\_cochran](https://discuss.rapid7.com/u/michael_cochran)\
**Post date:** [September 28, 2023, 7:18pm UTC](https://discuss.rapid7.com/t/regex-in-automated-decisions/27993/1 "2023-09-28T19:18:03Z")

</div>

Can you use RegEx in automated decisions? It looks like you can but when I try to do it, it takes the default path. I know my RegEx is correct because I can use a pattern match step and match on the same data in the same loop.

---

<div class="post-metadata">

**Author:** ![brandon\_mcclure](https://discuss.rapid7.com/user_avatar/discuss.rapid7.com/brandon_mcclure/32/182_2.png) [@brandon\_mcclure](https://discuss.rapid7.com/u/brandon_mcclure)\
**Post date:** [September 29, 2023, 12:32am UTC](https://discuss.rapid7.com/t/regex-in-automated-decisions/27993/2 "2023-09-29T00:32:56Z")

</div>

yes

`{{Step}} =~ /.+/`
