in reply to Regex Validation

Without lookahead or lookbehind:
/^[^:]*(?:::[^:]+)*(?:::)?$/