Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save daipresents/119881443e690c492a0d7b5deb6e1e1d to your computer and use it in GitHub Desktop.

Select an option

Save daipresents/119881443e690c492a0d7b5deb6e1e1d to your computer and use it in GitHub Desktop.
Javaで入力チェックに使える正規表現まとめ
^[^ -~。-゚]+$
^[a-zA-Z0-9]{5,10}$
^[a-zA-Z0-9]{5,}$
^[a-zA-Z0-9]{1,5}$
^true$|^false$
^[ -/:-@\[-\`\{-\~]+$
^[a-zA-Z0-9]+$
^[a-zA-Z0-9 -/:-@\[-\`\{-\~]+$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment