Skip to main content
Regexflux

Data Formats Regex Patterns

Patterns for parsing numbers, currencies, file paths, HTML/XML, JSON, CSV, and other data formats.

19 patterns

Matches base64 encoded strings.

JSPYTHONJAVAPHPGO
Blank Linesbeginner

Matches empty or whitespace-only lines.

JSPYTHONJAVAPHPGO
CSV Fieldintermediate

Matches individual fields in comma-separated value data.

JSPYTHONJAVAPHPGO

Matches currency values with common symbols ($, €, £, ¥).

JSPYTHONJAVAPHPGO

Matches USD currency values like $1,234.56.

JSPYTHONJAVAPHPGO

Extracts file extensions from filenames.

JSPYTHONJAVAPHPGO

Matches relative file paths starting with ./ or ../.

JSPYTHONJAVAPHPGO

Matches Unix/Linux/macOS file paths.

JSPYTHONJAVAPHPGO

Matches Windows file paths with drive letter.

JSPYTHONJAVAPHPGO
HTML Attributeintermediate

Extracts attribute name-value pairs from HTML tags.

JSPYTHONJAVAPHPGO
HTML Commentbeginner

Matches HTML comments including multi-line content.

JSPYTHONJAVAPHPGO
HTML Tagintermediate

Matches opening and self-closing HTML tags with optional attributes.

JSPYTHONJAVAPHPGO

Captures the indentation level of each line.

JSPYTHONJAVAPHPGO

Matches key-value pairs in JSON format.

JSPYTHONJAVAPHPGO

Matches decimal numbers with optional sign and fractional part.

JSPYTHONJAVAPHPGO

Matches positive and negative integers with optional thousands separators.

JSPYTHONJAVAPHPGO

Matches numbers in scientific notation like 1.23e-4 or 6.022E23.

JSPYTHONJAVAPHPGO

Matches sequences of 2+ whitespace characters for collapsing.

JSPYTHONJAVAPHPGO

Matches leading and trailing whitespace for trimming.

JSPYTHONJAVAPHPGO