|
|
|
|
|
What is the PHP analog to the next perl expression:
s/(http:\/\/.*?) /<a href=$1> $1 <\/a>/g;
$msg=eregi_replace("(http|https|ftp)://([[:alnum:]/\n+-=%&:_.~?]+[#[:alnum:]+]*)","<a
href=\"\\1://\\2\" target=\"_blank\">\\1://\\2</a>", $msg);
|
|
| Form is a utility class for generating html forms. It provides form initialization and regex based data validation (both server and client side) with a convenient interface. This version obsoletes version 1.0a Categories : HTML, PHP, PHP Classes, Regexps | | | PHP3: Formmail. Just a cgi formmail, but than in PHP. It is easy to use! Categories : HTML and PHP, Email, PHP, Perl, HTML and PHP | | | PHP Youtube Downloader - This is a set of PHP functions that can be used to download movies from Youtube.com.
Categories : PHP, CURL, Regexps | | | validateEmail 2.0 - upgraded version of the old validateEmail function used to validate email
addresses via SMTP and regex. Categories : Email, Regexps, PHP | | | Newbie Notes #7 - Ridiculous regex Categories : PHP, Beginner Guides, Regexps | | | Tag content retrieval from websites with preg_match Categories : PHP, Regexps, Arrays, HTML and PHP | | | PHP Script to find url links in a page Categories : PHP, URLs, Regexps, Arrays | | | String Replacement and speed consideration
Categories : PHP, Strings, Regexps | | | FormChecker Package - validate any data via classes and patterns.
Categories : PHP, Form Processing, PHP Classes, Regexps | | | Checking for valid (or lack thereof) input. Categories : PHP, Perl | | | 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) | | | Gets the browser and OS from the $_SERVER['http_user_agent'] variable in PHP Categories : PHP, HTTP, Regexps | | | Extract keywords from a string having words in " " count as one string. Categories : PHP, Strings, Regexps, Search | | | YellowPages Content Grabber (PHP5 +) Categories : PHP, PHP Classes, Regexps, Databases, MySQL | | | how to check if a string contains a letter from a different language? Categories : PHP, Regexps, Languages | |
| |
| |
|