Regex 101 Exercise I8 - replace space count with spaces
Exercise I8 - replace space count with spaces
Given a string with embedded space counts:
<15sp>Indented by 15 spaces
Replace the <<count>sp> with <count> spaces.
So, if you have
<4sp>Text
you should end up with
Text