How to use Value Parser (Regular Expressions)

Albato: Value Parser tool
Tools
·
05/03/2023
·
2 min. read

In this article

The Value Parser, or Regular Expressions, is an advanced way to search and replace text.

 

How to use value parser tool

In the tool's settings, you can specify:

what to replace: symbols, characters, words, custom sets (templates), etc.

replace with: symbols, character, custom sets (templates), etc.

While simple character search works like a standard "Find and Replace", Regular Expressions are great because you can search for multiple characters, exclude them, add rules, and more.

 

Examples of custom search templates

x|y — Searches for x or y

x(?=y) — Searches for x only if it's followed by y

[a-d] — Range of characters — Square brackets mean "any character from the list."

\w+@\w+.\w+ — Searches for email.

([0-3]\d).([01]\d).(\d{4}) — Searches for date in format dd.mm.yyyy

(8|+7|7)[0-9]{7,10} — Searches for phone number in format 8********** or +7**********.

There are countless templates and combinations to replace text, and you can find many resources online.

 

Examples of custom value parsing patterns

 

Case 1: Converting the date format from DD.MM.YYYY to YYYY_MM_DD

Tool Settings: The "What to replace" and "Replace with" fields use custom templates.

1.1.png

Template: ([0-3]\d).([01]\d).(\d{4})

Replace with: $3_$2_$1.

The result will look like this:

1.2.png

 

Case 2: Remove tags from an email

What to replace:

\<(\/?[^>]+)>|(\n)|(\s{4,})

Replace with: Space.

1.3.png

 

Case 3: Extracting a domain from a URL

What to replace: ^https?://([^/]+)/.*$

Replace with: $1

This pattern extracts the domain name from a full URL that contains a path or parameters. For example, from https://example.org/id25 you’ll get: example.org


Tools

Join our newsletter

Hand-picked content and zero spam!

Related articles

Show more
Paragon vs Tray vs Albato Embedded: Best Embedded iPaaS for SaaS
12 min. read

Paragon vs Tray vs Albato Embedded: Best Embedded iPaaS for SaaS

Compare Paragon, Tray.io, and Albato Embedded across UX, white-labeling, connectors, pricing, and best-fit use cases. Learn which embedded iPaaS is the right choice for your SaaS product.

Saying Goodbye to 2025: Albato End of Year Edition
3 min. read

Saying Goodbye to 2025: Albato End of Year Edition

Let’s take a look back at what’s been achieved and see what’s in store for the year ahead.

Workato vs Cyclr vs Albato Embedded – iPaaS Comparison
10 min. read

Workato vs Cyclr vs Albato Embedded – iPaaS Comparison

Compare Workato, Cyclr, and Albato Embedded iPaaS solutions for SaaS companies. Learn which platform offers the best UX, white-label integration experience, connector breadth, pricing model, and support for your SaaS use case.

Workato vs MuleSoft vs Albato Embedded: Which Integration Platform Fits Your SaaS?
8 min. read

Workato vs MuleSoft vs Albato Embedded: Which Integration Platform Fits Your SaaS?

Compare Workato, MuleSoft, and Albato Embedded across features, UX, embedded support, pricing, and best use cases. A practical guide for SaaS founders evaluating integration platforms.

How SaaS Businesses Improve Retention Using AI-Powered Email Marketing
5 min. read

How SaaS Businesses Improve Retention Using AI-Powered Email Marketing

Learn how SaaS brands can use AI-powered email automation to increase retention, reduce churn, and drive engagement with experts from Albato and UniOne.

Paragon Vs. Prismatic Vs. Albato Embedded: Which to Choose
5 min. read

Paragon Vs. Prismatic Vs. Albato Embedded: Which to Choose

Compare Paragon, Prismatic, and Albato Embedded—three leading embedded iPaaS platforms for SaaS. See how they differ in features, UX, pricing, and scalability.

AI for Customer Service Automation with Albato
5 min. read

AI for Customer Service Automation with Albato

Learn how AI agents and Albato automate customer service workflows—from ticket triage to WhatsApp replies and CRM updates.

Prismatic Vs. n8n Vs. Albato Embedded: Full Comparison
4 min. read

Prismatic Vs. n8n Vs. Albato Embedded: Full Comparison

Compare Prismatic vs n8n Embedded vs Albato Embedded—three leading embedded iPaaS solutions—for features, pricing, UX, developer experience, and scalability.

How to Use Python Code in Albato
4 min. read

How to Use Python Code in Albato

A new Python code tool allows you to run your own custom code.

How to Connect Membrain CRM to Albato
3 min. read

How to Connect Membrain CRM to Albato

Connect Membrain CRM with Albato to integrate it with and 1000+ other apps, including AI tools like Grok and Claude.

How to Connect Compass to Albato
3 min. read

How to Connect Compass to Albato

Connect Compass with Albato to integrate it with over 1000+ apps, including AI tools like Grok and Claude.

How to Connect Front to Albato
3 min. read

How to Connect Front to Albato

Connect Font to Albato, you can integrate it with over 1000+ apps, including AI tools like ChatGPT and Claude.