/** * Validate email address * @param string $email Email address to validate ...
$css = preg_replace('/\s\s+/', '', preg_replace('@/\\*([\\s\\S]*?)\\*/@','',$css));
PHP Remove Whitespace & Com...
by https://www.google.com/accounts/o8/id?id=AItOawlfLKQUOxClQ5HmGAqM_lnwQLGwjnkD4TI,
January 06, 2011 20:34,
4 refactorings, tagged with speed, php, regex
I'm wondering if this is th...
$outputstr = preg_replace('/[-]{2,}/','-',trim(strtolower(str_replace(' ','-',preg_replace('/[^A-Z0-9- ]+/i','',$inputstr))),'-'));
PHP Trimming excess from string
by paulswansea.myopenid.com,
February 05, 2010 16:07,
4 refactorings, tagged with php, regex, replace
I'm trying to get an input ...
<?php
function fetch($url,$start,$end){
...
PHP Wikipedia API and text form...
by z3ro,
January 09, 2008 18:37,
4 refactorings, tagged with convert, html, plain html, formatting, parser, regex, xml, php, wikimedia, api, wikipedia
I need to add Wikipedia's i...
http://www.snippetsmania.com/