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で携帯電話のパターンを開発するにはどうすればよいですか?
これを作成しましたが、方法がわからないため、最初の2桁では機能しません。
Pattern pattern = Pattern.compile("\\d{2}\\d{6}");
このパターンを試してみてください(03|71|72|76|78)\d{6}。
(03|71|72|76|78)\d{6}