|
|
|
$out = ereg_replace("[^[:alpha:]]", "", $in);
Where $in is the string that has non-alpha characters to take out, and $out is
the resulting string. |
|
| Check if a file exists on a remote FTP server with PHP Categories : PHP, FTP, Regexps | | | Show Source with Line Numbers Categories : PHP, Regexps, Filesystem | | | Avoiding or Detecting high bit characters in a string. Useful when you want to create a valid RSS feed Categories : PHP, Strings, Unicode, Regexps, Rich Site Summary (RSS) | | | Match words that are entered into a <textarea> in any layout orientation (horizontal, vertical, diagonal). Categories : PHP, Regexps | | | What is the best way to split a string that consists of two bits of data
seperated by whitespace? Categories : Regexps, Strings, PHP | | | Massreplace Categories : Filesystem, Regexps, Strings, PHP | | | BBCode Formatting String Categories : PHP, HTML, Regexps, Arrays | | | Tag content retrieval from websites with preg_match Categories : PHP, Regexps, Arrays, HTML and PHP | | | I need a trim function/regexp that will trim all " " from the ends of a string. Categories : Regexps, PHP, Strings | | | This script is a contact form between users of a
website (kinda like the PM function on the forums)
Categories : PHP, Databases, MySQL, Regexps | | | Simple way to replace a variable value in a .conf (.ini) file using a
webbrowser - the first stage of a complete universal configuration editor Categories : PHP, Regexps, Code Editors, Filesystem | | | ereg -- Regular expression match Categories : PHP, PHP Functions, Regexps | | | Gets the browser and OS from the $_SERVER['http_user_agent'] variable in PHP Categories : PHP, HTTP, Regexps | | | a PHP Function to Get only the filename (remove the extension) using regular expressions. Categories : PHP, Regexps, Beginner Guides | | | PHP Script to find url links in a page Categories : PHP, URLs, Regexps, Arrays | |
|
|
|