Quickbase Tips

Clean, validate and extract data with regex in Quickbase formulas

FormulasData modelDecember 1, 2026
Short answerQuickbase formulas support RegexMatch(), RegexExtract() and RegexReplace(), based on Google's RE2 engine. Patterns must be written directly in the formula (not pulled from a field), backslashes must be doubled, and non-text inputs need ToText(). RE2 doesn't support lookarounds or backreferences.

The problem

Phone numbers are typed five different ways, emails are invalid, and you need the domain from an email or an ID from a URL. Before regex, that meant long chains of Left(), Right(), Part() and SearchAndReplace().

What’s available

Quickbase added three regex functions to the formula language in January 2025:

Function Returns Use it to
RegexMatch(text, pattern) Boolean Validate a format
RegexExtract(text, pattern) Text Pull out part of a value
RegexReplace(text, pattern, replacement) Text Clean or normalize a value

Working examples

Flag invalid emails (formula – checkbox):

RegexMatch([Email Address], "^[\\w\\.\\+-]+@[\\w\\.-]+\\.\\w+$")

Normalize phone numbers to digits only (formula – text):

RegexReplace(ToText([Client Contact]), "[()\\-. ]", "")

(555) 123-4567 and 555.123.4567 both become 5551234567.

Extract an email’s domain:

RegexExtract([Email], "@(.*)")

Rules that trip people up

  • RE2, not PCRE. Quickbase uses Google’s RE2 standard for performance and safety. RE2 has no lookaheads/lookbehinds and no backreferences, so patterns copied from Stack Overflow may not work. Test on regex101 with the Golang (RE2) flavor.
  • Double your backslashes. \d must be written \\d inside the formula string.
  • Literal patterns only. The pattern must be written in the formula. It can’t come from a field or a variable, so you can’t keep patterns in a settings table.
  • Text in, text out. Wrap numbers, phone fields and other non-text inputs in ToText(), and convert the output (for example ToNumber()) if you need a number.

Practical uses

  • A “Data issues” checkbox combining several RegexMatch() checks, plus a report that lists records to fix.
  • Normalized match keys (digits-only phone, lowercase trimmed email) for de-duplication or for use as merge fields in imports and upserts.
  • Parsing structured text that arrives from emails or integrations, such as order numbers or reference codes.

Seeing more than one of these problems? Find where your Quickbase is on the journey, and what usually fixes it.

Bigger than a quick fix?

App Development

New apps built around how your business actually works, including moving you off spreadsheets, Access or another platform.

Discovery & app blueprint · From $2,750

Have a Quickbase problem that needs solving?

Tell us what is slowing you down. A 30-minute call is free, and you will leave with a clear next step whether or not we work together.

Book a free call

Loading available times…