© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Peter Scheler
JS enthusiast
/ {4}/gm for 4 spaces.
/ {4}/gm
You can use $text =~ s/ {4}/\t/gm for replacing.
$text =~ s/ {4}/\t/gm