The answer is
If I had to rephrase my question, it would be how to approach regular expression problems? Is it all about practice?
How do I understand what the regular expression is doing just like in this case here.
I think I can create DFA for this, but not sure if that would help me to create regular expression(I know there are posts to convert dfa to regular expression but I don't want that hassle).