# Cleaning a Data String

**URL:** <https://community.hubspot.com/t/cleaning-a-data-string/71641>\
**Category:** Tips, Tricks & Best Practices\
**Created:** [December 21, 2022, 2:31am UTC](https://community.hubspot.com/t/cleaning-a-data-string/71641 "2022-12-21T02:31:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JRobertshaw](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jrobertshaw/32/38459_2.png) [@JRobertshaw](https://community.hubspot.com/u/JRobertshaw)\
**Post date:** [December 21, 2022, 2:31am UTC](https://community.hubspot.com/t/cleaning-a-data-string/71641/1 "2022-12-21T02:31:08Z")

</div>

Hi All,  
We have an address field that is populated by a third party extension, as the value used in the extension comes from html it is populated with all the line breaks \<br\> in the text field.  
We use this property to populate emails that go out, so would like to remove the \<br\> from the text.  
Is there a way that we can clean this data automatically?  
Thank you

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [December 21, 2022, 5:09am UTC](https://community.hubspot.com/t/cleaning-a-data-string/71641/2 "2022-12-21T05:09:49Z")

</div>

Hi @JRobertshaw,

Yes, this is possible in workflows with the [Format data action](https://knowledge.hubspot.com/workflows/format-your-data-with-workflows), does however require an Operations Hub Professional subscription.

Without Operations Hub Professional, you’d have to look into third-party custom automation like [Zapier](https://knowledge.hubspot.com/integrations/how-to-use-zapier-and-hubspot).

Best regards!
