Moving towards working split() for regex