This is <b>my solution and it works</b>, so I don't see any reason why I should use regex