Regex to match given amount of characters in undefined order : <p>I am looking for a regex that matches the following:
2 times the character 'a' and 3 times the character 'b'.
Additionally, the characters do not have to be subsequent, meaning that not only 'aabbb' and 'bbaaa' should be allowed, but also 'ababb', 'abbab' and so forth.</p>

<p>By the sound of it this should be an easy task, but atm I just can't wrap my head around it. Redirection to a good read is appreciated.</p>
