Jan 07, 2024 05:21 PM
Hi,
I'm attempting to locate a know record with an email address containing a "+". I've tried introducing a '\' and '\\' before the '+' to no avail. Tried CURL with your API encoder, no luck.
CURL EXAMPLE:
I can get results with an email without a '+' character in nodeJS and CURL.
How do I specify a filter that enables the retrieval of a record by email address containing a plus? This does NOT work:
Solved! Go to Solution.
Jan 09, 2024 01:09 PM
@dilipborad: First, thanks so much for looking at this and trying to help!
I was not clear on what I'm trying to accomplish. I want to look up a known email address that has a '+' and retrieve the recordID for that specific email, not all emails. But you gave me a tool that does work -- REGEX_MATCH. Not sure why you have the AND, but the solution in JS is to prepend '\\' before the plus. So bob+1@bob.com --> bob\\+1@bob.com.
THANK YOU!
Jan 08, 2024 09:48 PM - edited Jan 08, 2024 09:50 PM
Hello @scubachris
This is bit tricky.
First of all use this to encode your url and change input parameters accordingly. https://codepen.io/airtable/full/MeXqOg
Now let's see what i've tested on my side.
This is my created table just for testing purpose.
I've used Regular Expression based function with filterByFormula. check it https://support.airtable.com/docs/guide-to-regex-functions
My testing response image.
URL Encoder image.
This need a bit of technical knowledge but I hope you get it.
Try it on your side.
👍
Jan 09, 2024 01:09 PM
@dilipborad: First, thanks so much for looking at this and trying to help!
I was not clear on what I'm trying to accomplish. I want to look up a known email address that has a '+' and retrieve the recordID for that specific email, not all emails. But you gave me a tool that does work -- REGEX_MATCH. Not sure why you have the AND, but the solution in JS is to prepend '\\' before the plus. So bob+1@bob.com --> bob\\+1@bob.com.
THANK YOU!
Jan 10, 2024 01:33 AM
OK @scubachris
AND is used if there are multiple conditions need to apply. I've forget to remove it but that's no need to used when a single condition is used.
I'm glad that issue is fixed.
👍