Build, test, and debug regular expressions
This regular expression validates Iraqi mobile phone numbers. It matches numbers that optionally start with a 0, followed by a 7, a digit between 4 and 9, and then exactly eight more digits. This effectively captures the standard 10 or 11-digit formats for local Iraqi mobile numbers.