how to take only letters and not digits in regular expression code example Example: regex for number and letters let regex = /[^A-Za-z0-9]+/