What is the regex pattern to remove all characters except numbers and letters?

I am not good with regex.

What is the pattern to remove all spaces, tabs, dashes, and all other non- number or letter characters easily from a string?

1 Like

This should work: [^a-zA-Z0-9]. Replace that with nothing.


Kevin
AirDev

We’re looking for Bubble developers to join our team: https://jobs.airdev.co/

3 Likes

Best Regex website

Use it daily!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.