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 Regular Expression For Empty String

Regular Expression For Empty String

A regular expression to match all empty strings. Can be used to replace empty strings with custom characters in your document.

/^$/g

See Also:

  • Regular Expression To Match All Blank Lines In Document
  • Regex To Match Non-blank And Non-Empty String
  • Regular Expression For Empty String
Previous Post Indian Financial System Code Regular Expression
Next Post Regex To Match Everything After A Specific Character

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