Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
重複の可能性: Androidで電子メールアドレスを検証するにはどうすればよいですか?
私はこれを使用しました:
Pattern.matches("^(.+)@([^@]+[^.])$", email)
私が入ったときそれはうまくいきませんでしたasdf@asdf、なぜペラーゼ?
asdf@asdf
Pattern.matches("^(.+)@([^@]+[^.]).([^.])$", email)
これは、次のような電子メールで機能します。
name@name.com