regular expression for numbers divisible by 3 code example Example: Regex for number divisible by 5 ^[+-]?[012]?\d:[012345]?[05]$