Create Regular Expression with exact 2 repetition of single charcter : I am fighting with regular expression - I want to create one for validation in REST resource, the id which is queried needs to have two : , for example key1:key2:key3

how can i create it?
the length of key1-3 can change and not equal
thanks