Skip to content

Instantly share code, notes, and snippets.

@farhang
Created October 30, 2019 10:37
Show Gist options
  • Select an option

  • Save farhang/3fc260c3915c1806998ed017858a5dd0 to your computer and use it in GitHub Desktop.

Select an option

Save farhang/3fc260c3915c1806998ed017858a5dd0 to your computer and use it in GitHub Desktop.

Revisions

  1. farhang created this gist Oct 30, 2019.
    1 change: 1 addition & 0 deletions password-regular-expression.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    /((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-z])(?=.*[a-z]).*$/