vs 2005 c# I have text box and regular expression validate numbers separated by slash
like 50/205 602/2014 or 54246/3116
but this code is not work right
(\[0-9]{5})[/](\[0-9]{4})
can you help me
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Feb 25, 2015, 3:33 PM
^LRE/[\d]{5}/[\d]{4}$
Fadi alfadiPosted Feb 25, 2015, 4:32 AM
like LRE/58701/2015
but this code is not work right
LRE/^[\d]{5}/[\d]{4}$
can you help me
Fadi alfadiPosted Feb 3, 2015, 6:46 AM
VulpesPosted Feb 1, 2015, 9:40 AM
string regExp = @"^\d+/\d+$";