# [Retina][1], <s>44</s> 22 bytes +`'([^']).(.*).\B $1$2 Assumes input in following format (in unary - counting character: `'`): `{number of repeats}{string}` For example: `'''''''ABCDEFGHIJKLMNOP` There is no space between number of repeats and the string. Thanks [@MartinBüttner][2] for shaving off 22 bytes! [Try it online!][3] [1]: https://github.com/mbuettner/retina [2]: http://codegolf.stackexchange.com/users/8478/martin-b%C3%BCttner [3]: http://retina.tryitonline.net/#code=K2AnKFteJ10pLiguKikuXEIKJDEkMg&input=JycxMjMzMjE