my $prefix = "A guide to"; s/^$prefix (.*)/$1 - $prefix/i; [download]
Makeshifts last the longest.
In reply to Re: Another RegEx poser by Aristotle in thread Regex to move prefix of strings to their end by stew