Regex formatter
Paste your items (CSV, comma separated, newline list, or spreadsheet paste)
Input column (for spreadsheet / multi-column paste)
Column 1 (default)
Column 2
Column 3
Column 4
Column 5
Column 6
Column 7
Column 8
Column 9
Column 10
If you pasted a spreadsheet, choose which column contains the values.
Delimiter (auto-detect by default)
Auto-detect
Comma (,)
Tab (spreadsheet paste)
Newline
Semicolon (;)
Regex options
Add word boundaries \b ... \b
Anchor ^ (start)
Anchor $ (end)
Case-insensitive (i)
Use non-capturing group (?:...)
You can combine anchors and boundaries; the tool will assemble a valid regex string and flags.
Transform
Deduplicate
Sort alphabetically
Trim & normalize whitespace
Build regex
Clear
Insert sample data
Copy / download results below
Output
Regex
(press "Build regex")
Copy regex
Copy pattern only
Download .txt
Flags: none
Preview (sample match)
Test