How can I remove everything from a string apart from letters? I have an input field for first names.
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- how to split a list into a given number of sub-lis
- Can php detect if javascript is on or not?
In PHP, you can use (as suggested by @rczajka and @mario):
Working Example: http://codepad.viper-7.com/V78skl
You may want to checkout this Tutorial for regex