++
With the /m modifier, the first solution also works on multiline input: print $_ and print s/(^|\G)\t/____/mgr for "\tHello\t\n\t\tWorld\t!\n\t!\n";
In reply to Re^2: Replace multiple tabs with spaces at start of a string
by Eily
in thread Replace multiple tabs with spaces at start of a string
by mavericknik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |