Tag Archives: regular expression

How to insure that number type int or double was insert in html5 with regular expression

<!DOCTYPE html> <html> <body> <h1>how to insure that number type int or double was insert in html5</h1> <form > <!–i explain the pattern : \d meaning number + meaning at least one ()? meaning what’s inside is optional \. meaning … Continue reading

Posted in כללי | Tagged , | Leave a comment

Overview slide on html 5 + good explaining on regular expression

html5 slide : http://slides.html5rocks.com/#landing-slide regular expression : http://en.wikipedia.org/wiki/Regular_expression i show exsample from stackoverflow : ^[0-9]+(\.[0-9]{1,2})?$ ^ # Start of string. [0-9]+ # Must have one or more numbers. ( # Begin optional group. \. # The decimal point, . must be … Continue reading

Posted in כללי | Tagged , | Leave a comment