Regex Tools
Browse all available regex tools.
Available tools
- ASCII Character Class Complement Complement an explicit code set against ASCII 0–127 only, not Unicode or a regex engine’s complete character universe.
- ASCII Character Class Formatter Format a positive ASCII character class using explicit two-digit hexadecimal escapes, avoiding metacharacter ambiguity.
- ASCII Character Class Parser Parse bounded ASCII bracket classes with literal characters, ordered ranges and \xHH escapes only; complements are relative to 0–127.
- Character Class Overlap Table Return exact overlap codes between explicit ASCII character banks; no Unicode normalization or regex execution.
- Character Class Range Compactor Compact an explicit ASCII code set into sorted inclusive contiguous ranges, preserving singleton endpoints.
- Character Class Range Expander Expand inclusive bounded ASCII code ranges into a canonical set, merging overlap but rejecting backwards ranges.
- Literal Alternation Formatter Build a noncapturing literal alternation with regex metacharacters escaped; empty bank produces a never-matching pattern.
- Literal Alternation Length Profile Profile UTF-16 lengths of a literal regex alternative bank, retaining empty alternatives and null extrema for no alternatives.
- Literal Full Token Pattern Builder Build a literal full-string ECMAScript pattern with a strict end assertion, avoiding dollar-anchor final-newline acceptance; assumes no multiline flag.
- Literal Pattern Prefix Factoring Factor the common UTF-16 prefix from literal alternatives and produce an escaped noncapturing pattern; no general regex algebra.
- Quantifier Bound Token Formatter Format bounded repeat quantifier integers with an explicit unbounded flag; ignored maximum is still validated as a nonnegative integer.
- Quantifier Bound Token Parser Parse bounded regex repeat quantifier tokens {n}, {n,m} or {n,}; null maximum means unbounded, not zero.
- Regex Capture Index Map Map ECMAScript capture indexes, names and opening-parenthesis UTF-16 positions after runtime syntax validation; escaped/class parentheses are ignored.
- Regex Escape Escape regular-expression metacharacters so arbitrary text can be embedded safely in a RegExp.
- Regex Flag Set Audit Audit syntactic ECMAScript flag names, duplicates and mutually exclusive u/v flags; does not assert every flag is supported by the installed runtime.
- Regex Match Group Presence Table Report explicit JSON match-group presence where null means unmatched and empty string means a present empty capture; ragged match groups are retained.
- Regex Replacement Literal Escape Escape every dollar sign for literal ECMAScript string replacement; unlike regex pattern escaping this preserves replacement text semantics.
- Regex Replacement Reference Audit Audit replacement references against an explicit capture count/name bank, accounting for two-digit-to-one-digit fallback; unresolved references remain literal in ECMAScript, not execution errors.
- Regex Replacement Tokenizer Tokenize ECMAScript replacement-dollar syntax without applying matches; numeric reference resolution depends on separately supplied capture evidence.
- Regex Zero Width Match Budget Budget possible zero-width progression positions from explicit UTF-16 length and code-point widths; not an actual pattern match count.