- Cómo empezar a usar Airtable
- Introducción a los aspectos básicos de Airtable
- Cómo comunicarse con el equipo de soporte de Airtable
- Pantalla de inicio de Airtable
- Glosario de terminología de Airtable
- Airtable technical requirements
- Diferencias entre las funciones de Airtable para escritorio y para móvil
- Atajos de teclado de Airtable
- Cómo usar Markdown en Airtable
- Adding descriptions in Airtable
- Finding Airtable IDs
- Automatizaciones de Airtable
- Descripción general de automatizaciones
- Guías de automatizaciones
- Guías de automatizaciones integradas
- Guías de automatizaciones en Airtable
- Linking existing records using automations
- Conditional groups of automation actions
- Repeating groups of Airtable automation actions
- Creating recurring records using automations
- How to delay Airtable automation runs
- Prevent automations from triggering by mistake
- Use automations to timestamp status updates
- Desencadenantes de automatizaciones
- Desencadenantes de Airtable
- Airtable automation trigger: When record matches conditions
- Airtable automation trigger: When a form is submitted
- Airtable automation trigger: When record created
- Desencadenante de automatización de Airtable: cuando se actualiza un registro
- Airtable automation trigger: When record enters view
- Desencadenante de automatización de Airtable: a una hora programada
- Airtable automation trigger: When webhook received
- Airtable automation trigger: When a button is clicked
- Airtable automation trigger: When email received
- Desencadenantes integrados
- Desencadenantes de Airtable
- Acciones de automatización
- Acciones en Airtable
- Acción de automatización de Airtable: enviar correo electrónico
- Airtable automation action: Create record
- Airtable automation action: Update record
- Airtable automation action: Find records
- Airtable automation action: Sort list
- Acción de automatización de Airtable: ejecutar un script
- Airtable automation action: Generate with AI
- Acciones integradas
- Airtable automation actions: Slack
- Airtable automation actions: Google Workspace
- Airtable automation action: Send MS Teams message
- Airtable automation actions: Outlook
- Airtable automation actions: Jira Cloud
- Airtable automation actions: Jira Server / Data Center
- Airtable automation actions: Salesforce
- Airtable automation action: Create post in Facebook Pages
- Airtable automation actions: GitHub Issues
- Airtable automation action: Hootsuite post
- Airtable automation action: Send Twilio SMS
- Acciones en Airtable
- Bases de Airtable
- Using Airtable Cobuilder
- Descripción general de las bases de Airtable
- Creating and duplicating bases in Airtable
- Structuring your Airtable bases effectively
- Moving Airtable bases between workspaces
- Tables in Airtable
- Crear enlaces para compartir bases de Airtable
- Importing third-party data into Airtable
- Uso de las perspectivas
- Troubleshooting Airtable base performance
- Versiones beta de Airtable
- Colaboración en Airtable
- Asistencia de Airtable Enterprise
- Información general
- External badging in Airtable
- Creating and using Airtable components
- Ask an Expert beta overview
- Data residency at Airtable
- Descripción general de los grupos de usuarios en Airtable
- API de Enterprise de Airtable
- Creating and managing data retention policies in Airtable
- eDiscovery APIs in Airtable
- Airtable and data loss prevention
- Acceder a los registros de auditoría de Enterprise en Airtable
- Configuración de Jira Server/Data Center para conectarse con Airtable
- Panel de Administración de Enterprise
- Descripción general del panel de administración de Enterprise
- Usuarios: panel de administración de Enterprise en Airtable
- Detalles del usuario en el panel de administración de Airtable
- Grupos: panel de administración de Airtable
- Espacios de trabajos: panel de administración de Enterprise de Airtable
- Bases: panel de administración de Enterprise en Airtable
- Interfaces: Panel de administración de Enterprise en Airtable
- Data sets - Airtable admin panel
- Managed apps - Airtable admin panel
- Components - Airtable admin panel
- Informes: panel de administración de Enterprise en Airtable
- Airtable admin panel settings
- Guía práctica de Enterprise
- Gestionar a los admins de Enterprise en el panel de administración
- Uso de organizaciones
- Organizational branding for apps in Airtable
- Enterprise Hub in Airtable
- Enterprise Hub : Org unit assignment with user groups
- Desactivar, retirar el acceso y reactivar usuarios desde el panel de administración
- Gestionar el acceso de usuario a espacios de trabajo y bases
- Airtable Enterprise Key Management
- Custom terms of use
- SSO en Enterprise
- Información general
- Extensiones de Airtable
- Descripción general de las extensiones
- Extensiones por Airtable
- Extensiones integradas
- Campos de Airtable
- Descripción general de los campos
- Archivo adjunto
- Campos basados en fecha
- Fórmula
- Empezar a usar fórmulas
- Fundamentos de fórmulas
- Soluciones frecuentes: principiante
- Soluciones habituales: intermedias
- Soluciones habituales: avanzado
- Campo de texto largo
- Campos de registros vinculados
- Campos con números
- Otros campos
- Campos de compilación, búsqueda y recuento
- Campos de selección y colaborador
- Integración con Airtable
- API
- Getting started with Airtable's Web API
- Crear tokens de acceso personal
- Airtable Webhooks API Overview
- Service accounts overview
- API web de Airtable: usar filterByFormula o parámetros para ordenar
- Airtable API Deprecation Guidelines
- Airtable API: Common troubleshooting
- Managing API call limits in Airtable
- Enforcement of URL length limit for Web API requests
- Servicios de integración
- Third-party integrations via OAuth overview
- Troubleshooting disconnected OAuth integrations in Airtable
- Options for integrating with Airtable
- Third-party integrations - Common troubleshooting
- Low-code integrations - Common troubleshooting
- Integrating Airtable with external calendar applications
- Visualizing records from Airtable in Tableau
- Visualizing Airtable records in Microsoft Power BI & Power Query
- Integrating HubSpot with Airtable
- Using Zapier to integrate Airtable with other services
- Using Zapier's Multi-Step Zaps to find and update records
- Using IFTTT to integrate Airtable with other services
- Integrating with AWS Lambda & DynamoDB
- Herramientas para desarrolladores
- API
- Diseñador de Interfaces de Airtable
- Descripción general
- Diseños de página
- Elementos
- Adding and removing elements in interfaces
- Adding layouts to interfaces
- Formatting elements in interfaces
- Interface element: Button
- Interface element: Calendar
- Interface element: Chart
- Interface element: Filter
- Interface element: Gallery
- Interface element: Grid
- Interface element: Kanban
- Interface element: Number
- Interface element: Record picker
- Interface element: Text
- Interface element: Timeline
- Aprendizaje y recursos
- Gestión de Airtable
- Política de Airtable
- Registros de Airtable
- Sincronización de Airtable
- Vistas de Airtable
- Espacios de trabajo de Airtable
- Impresión
- Compartir
- OscuroLigero
- PDF
Using REGEX() functions in Airtable
- Actualizado en 31 Jan 2024
- 3 Minutos para leer
- Impresión
- Compartir
- OscuroLigero
- PDF
This article covers how to use REGEX() to streamline your team's and organization's work.
All plan types | |
Platform(s) | Web/Browser, Mac app, and Windows app |
Related reading |
REGEX() in Airtable overview
REGEX() overview
NOTE
Note that our REGEX functions only work with text strings. If you are using either a rollup or lookup field, you may need to first convert the data into a string before you can use a REGEX function on it (you could use ARRAYJOIN() for this). Also note that rollup, lookup, and formula fields do not currently support rich text.
In our formula field reference, you'll find the basic overview for the REGEX() functions that Airtable currently supports. Currently, Airtable supports three functions: REGEX_MATCH()
, REGEX_EXTRACT()
, and REGEX_REPLACE()
. Each of these functions has advantages and disadvantages depending on the formula output you are expecting to be produced in your formula field.
NOTE
In this article we will not be covering all of the Regular Expression patterns in-depth. There are many outside resources that provide great deep dives into REGEX and pattern matching (like regex101, or the MDN Regex cheatsheet) that we recommend checking out for more detail.
You may be wondering what a regular expression is; you can think of a regular expression as an arrangement of symbols and characters conveying a string or pattern to be searched for within a larger body of text. The result is something similar to a search engine.
In Airtable, we offer the find bar as well as the Search extension to find certain literal instances of certain strings or patterns. Additionally, we offer the FIND()
and SEARCH()
functions as well as other relevant text extraction functions in the Text operators and functions section of the formula field reference.
However, the REGEX functions that follow provide a way to search the information in your tables as well as the ability to work with that information in powerful ways.
REGEX_MATCH in Airtable
REGEX_MATCH
The REGEX_MATCH()
function returns whether the input text matches a regular expression and outputs in the Boolean data type as a 1 (true) or 0 (false) result. Two examples of where this may be useful are in phone number validation and email validation within your base.
REGEX_MATCH phone number validation
If you need to validate a set of phone numbers against specific criteria, you can use REGEX_MATCH() like in the formula below.
REGEX_MATCH( {Possible Phone Number}, '^(\\+\\d{1,2}\\s?)?\\(?\\d{3}\\)?[\\s.-]?\\d{3}[\\s.-]?\\d{4}$')
This regular expression handles a number of different phone number formats:
Country codes
Using dashes or spaces as delimiters
Parentheses around the area code
Using letters instead of numbers
REGEX_MATCH email validation
Similar to the other example above, you can use REGEX_MATCH() to validate a list of email addresses as well.
REGEX_MATCH( {Email address}, "(\W|^)[\w.\\-]{0,25}@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}(\W|$)")
This regex handles basic validation for email addresses: Starts with a username that is composed of letters, numbers, or characters like underscore, period or dash. An at-sign (@). A domain name, which is a string of letters, numbers, or characters like underscore, period, or dash, followed by a period, followed by another string of letters, numbers, or characters like underscore, period or dash. Email validation is a very complicated subject, but this regex is a good starting point for most use cases.
REGEX_EXTRACT in Airtable
REGEX_EXTRACT
The REGEX_EXTRACT()
function returns the first substring that matches a regular expression. If the REGEX_EXTRACT()
function finds no matching instance of the provided regular expression it will return an ERROR
.
In the example below, this function is used to extract the domain name from a URL field.
REGEX_EXTRACT - extracting domains from URLs
REGEX_EXTRACT( {URL}, '^(?:https?:\\/\\/)?(?:[^@\n]\+@)?(?:www\\.)?([^:\\/\n?]+)')
URLs start with HTTP or HTTPS, possibly a username followed by an @ symbol, the domain, and then the rest of the URL. Here, we strip off the subdomain if it’s ‘www’, but otherwise preserve it.
REGEX_REPLACE in Airtable
REGEX_REPLACE
The REGEX_REPLACE()
function substitutes all matching substrings with a replacement string value. Building off of the example above, if we have a valid phone number, we can normalize it using REGEX_REPLACE()
to make it easier to work with in the rest of our Airtable base.
REGEX_REPLACE - normalizing phone numbers
IF({Is Valid Phone Number?}, UPPER(REGEX_REPLACE({Possible Phone Number}, '[^A-Za-z0-9]', '')), ERROR('Invalid phone number'))
If the phone number passed validation, we normalize it by using REGEX_REPLACE() to replace non-alphanumeric characters with an empty string, resulting in just the dialable digits. We also use the UPPER() formula to make the casing consistent. Normalizing phone numbers into a prettier format is an exercise left to the reader.
T() and REPT() in Airtable
T() and REPT()
This content is part of a guided course, which includes the functions listed below that can help expand functionality in your Airtable base.
T() in Airtable
T()
This function returns the argument if it is text, and otherwise returns blank.
T("Text only")
would return the argument, "Text only", while T(42)
would return as blank.
REPT() in Airtable
REPT()
This function repeats any referenced string a specified number of times.
For example, REPT("Hi! ", 3)
would result in Hi! Hi! Hi!
.