TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Priya M
NA
42
11.6k
Regular Exp
Feb 18 2016 5:15 AM
hi,
I want accept decimal no eg1023.56, 59.00,1566.36
decimal point is allow for only one time
public static bool validdecimal(string text)
{
Regex regex = new Regex("^\d*\.?((25)|(50)|(5)|(75)|(0)|(00))?$");////Not work
return !regex.IsMatch(text);
}
on call
e.Handled = !ClassValidation.Validdecimal(e.Text);
Reply
Answers (
9
)
how to define static resource for background color of wpf?
TreeView with CheckBox