# Read information from rich text

**URL:** https://community.fibery.io/t/read-information-from-rich-text/4118
**Category:** Get Help
**Created:** [March 12, 2023, 3:41pm UTC](https://community.fibery.io/t/read-information-from-rich-text/4118 "2023-03-12T15:41:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Eren\_Turgut](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/eren_turgut/32/4425_2.png) [@Eren\_Turgut](https://community.fibery.io/u/Eren_Turgut)
#### Post date: [March 12, 2023, 3:41pm UTC](https://community.fibery.io/t/read-information-from-rich-text/4118/1 "2023-03-12T15:41:56Z")

</div>

I want a formula to extract a number out of an email message. Just like you can from a normal text field by using the powerful formula functions.

Use case:  
We get the assignment to cost centers of invoices via email and manually write them down. I want the cost center numbers to be extracted from the emails but can’t access the rich text field.

Is there any way to do that with scripting?

---

<div class="post-metadata">

### Author: ![mdubakov](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/mdubakov/32/10_2.png) [@mdubakov](https://community.fibery.io/u/mdubakov)
#### Post date: [March 12, 2023, 5:12pm UTC](https://community.fibery.io/t/read-information-from-rich-text/4118/2 "2023-03-12T17:12:34Z")

</div>

I may suggest to use Fibery AI and extract information from rich text via automation rule or action button. If you can send an example of the text I may try to create a prompt to do it
