<?php $string = '1234567890-=qwertyuiop[]\asdfghjkl;zxcvbnm,./~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?'; $chars = "/\d|\W|_/g"; $string = preg_replace($chars, '', $string); echo $string;
You have javascript disabled. You will not be able to edit any code.