
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Sep 02, 2021 11:28 AM
Is there any way to search for emoticons (any of them) in a text field, and replace with something like a dash or space? Is there a code for emoticon that allows a formula to search for this?
Emojis and emoticons are often put into titles of blogs, but I am curating titles and creating url’s out of them, but want to remove any trace of these.
Solved! Go to Solution.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Sep 04, 2021 12:16 PM
This is a great use case for regular expressions, and the regex engine that Airtable uses supports the [[:ascii:]]
character class, which will only match normal ASCII characters: letters, numbers, and limited special characters, but no emojis. This formula will replace anything not in that category with an empty string, but you can use whatever substitute character you prefer.
REGEX_REPLACE(Title, "[^[:ascii:]] *", "")

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Sep 04, 2021 12:16 PM
This is a great use case for regular expressions, and the regex engine that Airtable uses supports the [[:ascii:]]
character class, which will only match normal ASCII characters: letters, numbers, and limited special characters, but no emojis. This formula will replace anything not in that category with an empty string, but you can use whatever substitute character you prefer.
REGEX_REPLACE(Title, "[^[:ascii:]] *", "")

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Sep 06, 2021 10:30 AM
This was exactly what I needed. You da man! Thank you soooooo much. :slightly_smiling_face:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Nov 23, 2023 03:46 AM
Hi everyone,
Thank you very much for the formula.
However, it also removes accents.
My canadien customer René now has a first name of Ren.
Is there a way to remove emojis and keep accents ?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Dec 18, 2023 02:39 AM
This works even better for me:
