--- title: "Use regex to parse data by finding text strings - Mozenda" slug: "how-to-use-regex-within-mozenda" description: "A regular expression (also known as regex or regexp) is a text string that describes a text search pattern. Regex can be used in Mozenda to parse data and define how a Capture Text action parses (or analyzes) the text it is targeting." tags: ["refine", "change", "replace", "filter"] updated: 2024-05-14T12:00:48Z published: 2024-05-14T12:00:48Z canonical: "help.mozenda.com/how-to-use-regex-within-mozenda" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mozenda.com/llms.txt > Use this file to discover all available pages before exploring further. # Use RegEx to find text strings A regular expression (also known as RegEx or RegExp) is a text string that describes a text search pattern. RegEx helps refine data and collects only what you need. RegEx can be used in Mozenda to define how a Capture Text action parses (or analyzes) the text it is targeting. Use the RegEx tool to: - Identify patterns - Change the display format - Remove excess data among other things such as: - Separate the city, zip, state, and street address from a full address - Remove the currency sign from the price - Refine the captured text - Ensure that all captured data fits the required format ### Learn more about regular expressions - [What is regular expression](http://www.regular-expressions.info/) - [Regular expression practice](https://regexr.com/) ### Use regular expressions in Mozenda [Embedded content](https://www.youtube.com/embed/RdzVvTKqM6c) ### Capturing text from multiple fields [Embedded content](https://www.youtube.com/embed/Oqx_Rh7fY1c)