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.

JSPYTHONJAVAPHPGORUBYCSHARP
Blank Linesbeginner

Matches empty or whitespace-only lines.

JSPYTHONJAVAPHPGORUBYCSHARP
CSV Fieldintermediate

Matches individual fields in comma-separated value data.

JSPYTHONJAVAPHPGORUBYCSHARP

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

JSPYTHONJAVAPHPGORUBYCSHARP

Matches USD currency values like $1,234.56.

JSPYTHONJAVAPHPGORUBYCSHARP

Extracts file extensions from filenames.

JSPYTHONJAVAPHPGORUBYCSHARP

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

JSPYTHONJAVAPHPGORUBYCSHARP

Matches Unix/Linux/macOS file paths.

JSPYTHONJAVAPHPGORUBYCSHARP

Matches Windows file paths with drive letter.

JSPYTHONJAVAPHPGORUBYCSHARP
HTML Attributeintermediate

Extracts attribute name-value pairs from HTML tags.

JSPYTHONJAVAPHPGORUBYCSHARP
HTML Commentbeginner

Matches HTML comments including multi-line content.

JSPYTHONJAVAPHPGORUBYCSHARP
HTML Tagintermediate

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

JSPYTHONJAVAPHPGORUBYCSHARP

Captures the indentation level of each line.

JSPYTHONJAVAPHPGORUBYCSHARP

Matches key-value pairs in JSON format.

JSPYTHONJAVAPHPGORUBYCSHARP

Matches decimal numbers with optional sign and fractional part.

JSPYTHONJAVAPHPGORUBYCSHARP

Matches positive and negative integers with optional thousands separators.

JSPYTHONJAVAPHPGORUBYCSHARP

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

JSPYTHONJAVAPHPGORUBYCSHARP

Matches sequences of 2+ whitespace characters for collapsing.

JSPYTHONJAVAPHPGORUBYCSHARP

Matches leading and trailing whitespace for trimming.

JSPYTHONJAVAPHPGORUBYCSHARP