Skip to content
No results
  • About Us
  • Contact
  • Privacy Policy
  • Regular Expression Cheatsheet
  • Sample Page
  • Submit Regular Expression
Regex Pattern
  • Home
  • Dates & Times
  • URI
  • Strings
  • Numbers
  • Markup & Programming
Regex Pattern
Home Strings Special Characters Regular Expression

Special Characters Regular Expression

A regular expression that matches special characters like !, @, #, $, …

/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi

Matches:

  • ^
  • &
  • !@#$%

Non-matches:

  • alphanumeric

See Also:

  • Regular Expressions To Match Unicode Symbols
  • Regular Expression To Match Accented Characters
  • Regular Expression To Match Non-ASCII Characters
  • Regular Expression To Match Only Alphabets And Spaces
Previous Post Regular Expression To Match Whitespace
Next Post Regular Expression To Match Non-ASCII Characters

More Like This:

Regex To Match Whitespaces Between Words

Regex To Match Chinese/Japanese/Korean Characters

Regex To Match Content Between HTML Tags

No results

Latest Regex

  • Regex To Match Whitespaces Between Words
  • Regex To Match Chinese/Japanese/Korean Characters
  • Regex To Match Content Between HTML Tags
  • US EIN (Employer Identification Number) Regular Expression
  • Regex To Match Numbers Containing Only Digits, Commas, and Dots

Popular Tags

Amazon Audio AWS Bible BitTorrent Credit Card Digit Email File Google Hash Image IP Address Linux Markdown Postal Code stock Underscore URK URL Vehicle Registration Number Video Whitespace Windows Youtube zip code

Trending now

BitTorrent Magnet Link Regular Expressioned2k Link Regular ExpressionXunlei (Thunder) Link Regular ExpressionUUID & GUID Regular Expression

Copyright © 2026 - Regexpattern.com

  • About Us
  • Contact
  • Privacy Policy
  • Cheatsheet
  • Submit