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.
preg_match("/^[a-zA-Z ]+$/i", $name);
我有一个name输入,我使用 preg_match 来检查用户是否键入数字或符号等。
但是,这仅适用于英语,我怎样才能使其适用于多种语言?(例如中文、日文等)