regex for first 3 characters to ve letters code example Example: regex for first three characters ^.{0,3} .{0,3}$