8 kyu

Simple validation of a username with regex

13,329 of 23,724daymos

Description:

Write a simple regex to validate a username. Allowed characters are:

  • lowercase letters,
  • numbers,
  • underscore

Length should be between 4 and 16 characters (both included).

Regular Expressions
Fundamentals

Stats:

CreatedJan 23, 2016
PublishedJan 23, 2016
Warriors Trained35390
Total Skips1743
Total Code Submissions88720
Total Times Completed23724
JavaScript Completions13329
CoffeeScript Completions44
Python Completions6701
Ruby Completions741
C# Completions1094
Elixir Completions153
Java Completions1931
C Completions253
Total Stars374
% of votes with a positive feedback rating92% of 2321
Total "Very Satisfied" Votes1984
Total "Somewhat Satisfied" Votes292
Total "Not Satisfied" Votes45
Ad
Contributors
  • daymos Avatar
  • cris Avatar
  • GiacomoSorbi Avatar
  • Jotha Avatar
  • hilary Avatar
  • anter69 Avatar
  • Chrono79 Avatar
  • kazk Avatar
  • hobovsky Avatar
  • trashy_incel Avatar
  • ZywOo Avatar
  • ejini战神 Avatar
  • XoRMiAS Avatar
  • KayleighWasTaken Avatar
Ad