I am trying to match a specific set of characters but 1 and only 1 of each.
For example if the set is [abcd]
, I want to match string containing these exact characters in any order.
abcd - true
bcad - true
abc - false (need all characters)
abbd - false
abcdd - false
From what I understand so far there is no easy way to achieve this with RegEx but no answer was conclusive enough.