Help

Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here

Remove unwanted characters

Topic Labels: Formulas
Solved
Jump to Solution
1006 2
cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, this is an example of a value in my NAME field:

1290 Name 3 (Some Words)
1255 Another Name 12 (more words)

I’m looking for a formula that will get rid of the numbers and space before Name, and anything in parentheses) so would result in:

Name
Another Name

Thanks for any help!

1 Solution

Accepted Solutions

This was as close as I got. Removes all whitespace though.

REGEX_REPLACE(Name,"(\\(.*\\))|(\\d)|(\\s)","")

EDIT: Or this. Leaves whitespace, which aren’t visable in Airtable.

REGEX_REPLACE(Name,"(\\(.*\\))|(\\d)","")

See Solution in Thread

2 Replies 2

This was as close as I got. Removes all whitespace though.

REGEX_REPLACE(Name,"(\\(.*\\))|(\\d)|(\\s)","")

EDIT: Or this. Leaves whitespace, which aren’t visable in Airtable.

REGEX_REPLACE(Name,"(\\(.*\\))|(\\d)","")

Thanks, this seems to work!