fork download
  1. <?php
  2.  
  3. echo preg_replace('/.*(\d+)(x|xE)(\d+).*/', 'D$1xF$3', 'Toster2x04Questions');
  4. echo PHP_EOL, PHP_EOL;
  5. echo preg_replace('/.*(\d+)(x|xE)(\d+).*/', 'D$1xF$3', 'TosterS2xE04Questions');
Success #stdin #stdout 0.02s 52472KB
stdin
Standard input is empty
stdout
D2xF04

D2xF04