Restrict input to ALPHABET only

I have an input that is currently being used to serve google autocomplete results.

After much trial and error with various solutions, Ive found a way to show only addresses within a certain radius.

However I only want to show, serve localities and cities, and not let the user input an address.

To do this I need to restrict the input to allow ONLY ALPHA characters. I need the input to reset and not allow any numbers to be input.

I would have thought this would be an easy thing for a bubble input to not allow numbers?

TIA

I’m guessing you would have to insert a check before making the call to Google Maps API. Something like input's value's find and replace, check the regular expression box, use an expression like \d and replace it with nothing.

Thanks. Is that exactly what I put “\d”

You gotta put that \ before d otherwise it will try to delete the letter “d” everywhere. \d means any digit.

FYI: The LLMs are quite good at spitting out regex patterns. Buuuut, don’t go overboard with regex. signed: man who shot himself in the foot with regex many many times in the past.