HomeBulk Find/Replace
Bulk Find/Replace
Mass editing utility patterns.
12 Tools Available
Swap Words
Swaps two words ($2 $1).
/(\w+)\s+(\w+)/
Reformat Date ISO
Changes DD/MM/YYYY to YYYY-MM-DD.
/(\d{2})/(\d{2})/(\d{4})/
Reformat Phone
Adds dashes to numbers.
/(\d{3})(\d{3})(\d{4})/
CSV to TSV
Replaces commas with tabs.
/,/
TSV to CSV
Replaces tabs with commas.
/\t/
JSON to OneLine
Minifies JSON (naive).
/\n\s*/
Quote Keys
Adds quotes to keys.
/(\w+):/
Unquote Keys
Removes quotes from keys.
/"(\w+)":/
Indent 2 to 4
Doubles indentation.
/^ /
Indent 4 to 2
Halves indentation.
/^ /
Space to Underscore
Replaces spaces with _ (slugify).
/\s+/
Slugify Advanced
Replaces non-alphanum with dash.
/[^a-z0-9]+/