Skip to main content
added 10 characters in body
Source Link
Dom Hastings
  • 24.4k
  • 4
  • 56
  • 93

Perl 5, 3943 bytes

3741 bytes code + 2 for -nl.

$c=A;print,s/$c|\W$c|[^a-z]/ /gi,$c++while/\S/

Try it online!Try it online!

Perl 5, 39 bytes

37 bytes code + 2 for -nl.

$c=A;print,s/$c|\W/ /gi,$c++while/\S/

Try it online!

Perl 5, 43 bytes

41 bytes code + 2 for -nl.

$c=A;print,s/$c|[^a-z]/ /gi,$c++while/\S/

Try it online!

Source Link
Dom Hastings
  • 24.4k
  • 4
  • 56
  • 93

Perl 5, 39 bytes

37 bytes code + 2 for -nl.

$c=A;print,s/$c|\W/ /gi,$c++while/\S/

Try it online!