I'm using
Code:
$cleangc = preg_replace("/[^a-zA-Z0-9\s]/", "", $gamecode);
$cleangc = strtoupper ($cleangc);
Which does do most of the job, but I'm wondering if this can also make the output character format to be something like [^a-zA-Z\s]-[0-9]
For example slus_123.45 would output as SLUS-12345