in reply to regex help required

What are the relevant parts of all these combinations?

/.*/ will match all these above possible combinations. So maybe you want to tell us what combinations are invalid.