Regex To Match A Username With No Consecutive Spaces July 30, 2022 Post a Comment I am struggling to make a javascript regex to satisfy the following: The first character has to be alphabetical ([a-zA-Z]) The rest can be any letters, any numbers, hyphen, dot, Solution 1: This should work for you: /^[a-z](?!.* {2})[ \w.-]{2,24}$/gmi Copy RegEx Demo Baca JugaGlobal Matches Using Javascript Regular ExpressionsRegex To Match A Username With No Consecutive SpacesBootstrap : Uncaught Typeerror: $(...).datetimepicker Is Not A Function Share You may like these postsJavascript Take Value From ArrayAudio Delay On Html5 Mobile Web AppFacebook Login: How To Combine Javascript With Php Sdk?Document.getelementbyid('btnid').disabled Is Not Working In Firefox And Chrome Post a Comment for "Regex To Match A Username With No Consecutive Spaces"
Post a Comment for "Regex To Match A Username With No Consecutive Spaces"