<?php $value = 'a, modern php framework.= is a must 1234'; $output = preg_replace('/[^a-zA-z\d]/', '_', $value); $put = preg_replace('/_?/', '_', $output); echo $put;
You have javascript disabled. You will not be able to edit any code.