Skip to main content
2 of 2
Commonmark migration

Retina, 60

Direct port of my sed answer:


Hari Krishna
.+
$0 $0
:`(\S+)(.*)\b(.+)
$0¶$3$2$1
K\S+
Rama

Try it online.

Digital Trauma
  • 73k
  • 9
  • 112
  • 264