正则表达式接受英语和德语字母和空格 [英] Regular Expression to accept English and German Alphabets and Space

查看:217
本文介绍了正则表达式接受英语和德语字母和空格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在寻找一个接受英文字母,德文字母和空格的正则表达式。



请帮帮我。谢谢

Hi All,

I am looking for a Regular Expression which accepts English alphabets,German alphabets and Space.

Please help me. Thanks

推荐答案

尝试以下几行:

Try along the lines of:
[A-Za-zÄäÆæß ]+





[edit]看来实际页面中使用的字体与预览不同。

试试这个:

[A-Za-zÄäÆæß] +

[/ edit]



[edit]It appears that the font used in the actual page differs from the preview.
Try this:
[A-Za-zÄäÆæß ]+
[/edit]


这篇关于正则表达式接受英语和德语字母和空格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆