常规的前pression无空格/黑白文本 [英] regular expression for no blank space b/w text
本文介绍了常规的前pression无空格/黑白文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请告诉我如何定期检查前pression无空格/黑白文本。
Please tell me how to check regular expression for no blank space b/w text.
推荐答案
如果你的意思是什么是reqular前pression检查有一个字符串中没有空白,以下模式将工作:
If you mean "What's the reqular expression to check there is no white space in a string", the following pattern will work:
^[\S]*$
这就会发现,只包含非空白(空格,换行,制表符等)的任何字符串。
This will find any string that only contains non-white space (spaces, new lines, tabs, etc).
这篇关于常规的前pression无空格/黑白文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文