Solution to Saying Hi

Solution to Hacker Rank problem "Saying Hi"
Algorithm > Regex > Saying Hi