What it does
Extract key=value pairs whose key is an identifier and whose value contains no whitespace or =.
How to use it
- Load the example or paste your text.
- Group 1 is the key and group 2 the value.
- Export them as two columns.
Verified example
Example
Text "id=TX-00057 status=ok"
\b([A-Za-z_][A-Za-z0-9_]*)=([^\s=]+) Result: "id=TX-00057", "status=ok"
\b([A-Za-z_][A-Za-z0-9_]*)=([^\s=]+) Result: "id=TX-00057", "status=ok"
\b([A-Za-z_][A-Za-z0-9_]*)=([^\s=]+) Result: "id=TX-00057", "status=ok"
\b([A-Za-z_][A-Za-z0-9_]*)=([^\s=]+) Result: "id=TX-00057", "status=ok"
Counterexample
Text "=missing"
\b([A-Za-z_][A-Za-z0-9_]*)=([^\s=]+) Result: no match
\b([A-Za-z_][A-Za-z0-9_]*)=([^\s=]+) Result: no match
\b([A-Za-z_][A-Za-z0-9_]*)=([^\s=]+) Result: no match
\b([A-Za-z_][A-Za-z0-9_]*)=([^\s=]+) Result: no match
Recorded by running fixture FX-R05 on : rp.js@1 on Node v24.21.0 (V8), v24.21.0, CPython 3.14.2 (Pyodide 314.0.7), PCRE2 10.48, go1.27.1. JavaScript results come from the rp.js@1 core on Node’s V8; your browser runs the same core.
Engines
- The same pattern runs unchanged in all four engines.
Limits
- Quoted values with spaces are not supported.