我想要简单的正则表达式 [英] i want simple regular expression
本文介绍了我想要简单的正则表达式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
i不怎么写正则表达式。
前五位应该是0
5位数后,应该有一个斜杠(/)
斜杠后用户应该可以添加文字。
任何人都可以告诉我如何写这个正则表达式。
谢谢和问候
sam.198979
解决方案
Rex可能是:
\ b0 { 5 } \\ [\\\\\\\\\\\\\\\\\\\\\\
http://www.regular-expressions.info/ [ ^ ]
http://msdn.microsoft.com/en-us/library/system.text.regularexpressions.regex.aspx [ ^ ]
30分钟正则表达式教程 [ ^ ]
hi,
i don't how to write regular expression.
First 5 digit should be 0
After 5 digits, there should be a slash (/)
After slash the user should be able add text.
can any one tell me how to write this regular expression.
thanks &Regards
sam.198979
解决方案
The Rex could be:
\b0{5}\\[\w\s]*
Try :
http://www.regular-expressions.info/[^]
http://msdn.microsoft.com/en-us/library/system.text.regularexpressions.regex.aspx[^]
The 30 Minute Regex Tutorial[^]
这篇关于我想要简单的正则表达式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文