import re re.sub(r'Perl[^A-Za-z]*', 'Python ', 'Perl6::Rules') [download]
In reply to Re^8: Control Structures by Anonymous Monk in thread Control Structures by artist