Showing posts with label regular expression. Show all posts
Showing posts with label regular expression. Show all posts

RUBY: Numeric validation using regular expression


numeric_var  =~ /^[-+]?[0-9]*\.?[0-9]+$/
Continue Reading