I have $email field that sometimes may not end with alpha character. How would I code if (last position of $email != alpha) { replace last pos of $email with blank } Or any other coding method to strip off non alpha from $email field if present. Thanks