3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $rekening = '101002000003385'; echo preg_replace('/(.{3}.{3}.{9})/', '$1-$2-', $rekening);
based on pEoJp
Output for 5.3.19 - 7.2.0
101002000003385--