To validate an email in an input field in React, use the test() method on the following regular expression - /\S+@\S+\.\S+/ .
確定! 回上一頁