Hello to all!How to pass a phone number on the format + (999) 99 999 99 99 using preg_match ()?
$is_correct_phone = (bool)preg_march('/^\+\(\d{3}\) \d{2} \d{3} \d{2} \d{2}$/');
Source: https://ru.stackoverflow.com/questions/602565/More articles:How to create a two-dimensional array based on data from the databasealgorithm for obtaining the necessary dataJava. Problem in accessing the windowFrom the speakers to the bootstrap carouselHow to fix the problem with the menu?How to determine... empty or with additional elements?Javascript newbie questions. Scopes, Anonymous Fs, and LoopsProtection against incorrect use of extern in CHow to set the height in Textbox?Mysql: update by trigger of its own tableAll Articles