regex to match alphanumeric characters of some length code example Example: regex allow alphanumeric and special characters /^[ A-Za-z0-9_@./#&+-]*$/