fork(3) download
  1. <?php
  2.  
  3. $texto = 'Ex#em$!plo uti@!lizando r3gex';
  4. echo preg_replace('/[^\w]/', '', $texto);
Success #stdin #stdout 0.01s 20568KB
stdin
Standard input is empty
stdout
Exemploutilizandor3gex