# Regex in BOTH Find and Replace

**URL:** <https://community.postman.com/t/regex-in-both-find-and-replace/5051>\
**Category:** Help Hub\
**Created:** [April 18, 2019, 5:52pm UTC](https://community.postman.com/t/regex-in-both-find-and-replace/5051 "2019-04-18T17:52:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Whersh](https://avatars.discourse-cdn.com/v4/letter/w/9d8465/32.png) [@Whersh](https://community.postman.com/u/Whersh)\
**Post date:** [April 18, 2019, 5:52pm UTC](https://community.postman.com/t/regex-in-both-find-and-replace/5051/1 "2019-04-18T17:52:05Z")

</div>

I love the idea that I can Find AND Replace Text in all my collections and otherwise. I really enjoy being able to do it with Regex… However I would like to be able to Replace with Regex as well. Meaning I would like to be able to use $1,$2 and otherwise in the replace field.

---

<div class="post-metadata">

**Author:** ![sniDr](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@sniDr](https://community.postman.com/u/sniDr)\
**Post date:** [April 21, 2019, 4:34am UTC](https://community.postman.com/t/regex-in-both-find-and-replace/5051/2 "2019-04-21T04:34:47Z")

</div>

yeah, a proper regex replace would be nice indeed.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 9, 2024, 2:33pm UTC](https://community.postman.com/t/regex-in-both-find-and-replace/5051/3 "2024-12-09T14:33:41Z")

</div>

Closed on December 9, 2024, 2:33pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
