Sed -E, 25 bytes Takes second input, , comma, first input (inputs cannot contain , commas). s/^(.*)(.*),(.*)\1$/\3\2/
posted 5y ago by Wezl
# Sed -`E`, 25 bytes Takes second input, `,` comma, first input (inputs cannot contain `,` commas). ``` s/^(.*)(.*),(.*)\1$/\3\2/ ```