# Setting property value by regex?

**URL:** <https://community.hubspot.com/t/setting-property-value-by-regex/65010>\
**Category:** CMS Development\
**Tags:** conversations-inbox\
**Created:** [September 13, 2022, 4:31pm UTC](https://community.hubspot.com/t/setting-property-value-by-regex/65010 "2022-09-13T16:31:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DLoszewski](https://avatars.discourse-cdn.com/v4/letter/d/6a8cbe/32.png) [@DLoszewski](https://community.hubspot.com/u/DLoszewski)\
**Post date:** [September 13, 2022, 4:31pm UTC](https://community.hubspot.com/t/setting-property-value-by-regex/65010/1 "2022-09-13T16:31:40Z")

</div>

Hello,

Is there a way to set a property value via regex? ie. I have a system that sends in an email which Hubspot creates a ticket for with a bunch of raw data in the email body. Am I able to use the following regex

`(?<=request=).*?(\w+)`

on the email body and then place that value in a property value field that I have?

Thanks!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [September 15, 2022, 6:01pm UTC](https://community.hubspot.com/t/setting-property-value-by-regex/65010/2 "2022-09-15T18:01:15Z")

</div>

Hey, @DLoszewski 👋 Let’s see if we can get the conversation going for you. Hey, @Gonzalo [@Ntbrown](https://community.hubspot.com/t5/user/viewprofilepage/user-id/118753) @BarryGrennan, do you have any regex experience you can share with @DLoszewski?

Best,

Jaycee
