Best way to alphanumeric check in JavaScript November 25, 2022 by Tarik You can use this regex /^[a-z0-9]+$/i