fork download
  1. <?php
  2.  
  3. // your code goes here
  4.  
  5. echo preg_match("^(?!.*@(gmail|yahoo|hotmail|outlook|live))([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,})$","dylan.hoang@platform.inc") ? "a":"b";
Success #stdin #stdout #stderr 0.03s 25892KB
stdin
Standard input is empty
stdout
b
stderr
PHP Warning:  preg_match(): No ending delimiter '^' found in /home/zfi7Hl/prog.php on line 5