Skip to content

howkins/regexps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Basic regexps

Email validation

regex.valid('email', '[email protected]');

Floating point number

regex.valid('float', '2.0');

Integer number

regex.valid('integer', '250');

Date

dd/mm/yyyy dd-mm-yyyy or dd.mm.yyyy

regex.valid('date', '01/01/2030');

Days of week

regex.valid('date', 'sun');
regex.valid('date', 'SUNDAY');

Range

regex.valid('date', '2', '0-100');

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published