SHARE
TWEET

Untitled

a guest Jun 19th, 2017 34 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[\\p{Punct}])(?=\\S+$).{6,20}$
  2.  
  3. Description:
  4. ------------
  5.   *  \^: line start
  6.   *  (?=.*[0-9]): at least one char between `0-9`
  7.   *  (?=.*[a-z]): at least one char between `a-z`
  8.   *  (?=.*[a-z]): at least one char between `A-Z`
  9.   *  (?=.\*[\\\p{Punct}]): at least one char of ``!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~``
  10.   *  (?=\\\S+$): no whitespaces
  11.   *  .{6,20}: between 6 and 20 chars
  12.   *  $: line end
RAW Paste Data
Top