The regex should be let regexp = /^[A-Z]+$/. This way you tell js to match these characters when the line starts and then ends.
確定! 回上一頁