Skip to content

Instantly share code, notes, and snippets.

@aurels
Created March 19, 2012 16:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save aurels/2117249 to your computer and use it in GitHub Desktop.
Save aurels/2117249 to your computer and use it in GitHub Desktop.
/^[a-z]([a-z0-9]|_){1,248}[a-z0-9](?!_ids?)$/
@vincentdieltiens
Copy link

^a-z{1,248}a-z0-9$

:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment