Superior String by RegEx

Problem Name:
Superior String by RegEx
Site:HackerRank
Links:
Tags:
Problem setters: