Regex
AI 给了我一段我根本看不懂的正则,到底该不该用?
/^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,}$/i ↑ matches email .flags: case-insensitive
regex · 图文示意