/**
 * Validate email address
 * @param   string $email Email address to validate
...

PHP Validate email address

by https://www.google.com/accounts/o8/id?id=AItOawkrlIWZOJFG_JL2F2-39pufYjElslWtCGU, November 11, 2011 21:20, 9 refactorings, tagged with php, regex, script, code, email, textmate
D41d8cd98f00b204e9800998ecf8427e Talk
$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...

55502f40dc8b7c769880b10874abc9d0 Talk
$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 ...

E4bd1595f34e7e03765eda6ed65bf6bb Talk
<?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...

E90ba01aea329491b312280d1eea606b Talk