Popular PHP Snippets Tagged 'regex'




« Prev [Page 1 of 2] Next »
  1. FAVCheck for valid email address

    PHP regex email valid saved by 326 people
    posted on November 30, -0001 by tylerhall
  2. FAVFormat Phone Number

    PHP regex phone number format saved by 53 people
    posted on November 30, -0001 by tylerhall
  3. FAVTest for a valid email address and MX records

    PHP regex email valid textmate test mx saved by 51 people
    posted on July 26, 2006 by tylerhall
  4. FAVRegex (regular expression) to match a URL

    PHP regex url match saved by 34 people
    posted on March 21, 2007 by tylerhall
  5. FAVMake page titles seo-friendly for URL

    PHP regex php seo saved by 22 people
    posted on August 14, 2008 by jdstraughan
  6. FAVcheck_email_address() email validator

    PHP regex email validation saved by 20 people
    posted on August 30, 2007 by IanLewis
  7. FAVPhone number beutifier

    PHP regex php phone String parser saved by 16 people
    posted on March 3, 2009 by naz
  8. FAVYoutube Video ID Regex & PHP Function

    PHP regex php video thumbnail YouTube saved by 5 people
    posted on August 5, 2010 by Jamie
  9. FAVRegex ignore html entities but replace any '&' with &

    PHP regex php character encoding saved by 5 people
    posted on January 19, 2009 by alli14404
  10. FAVImprovement of URL interpretation with regex

    PHP regex url php pregreplace interpretation saved by 4 people
    posted on July 9, 2010 by keevkilla
  11. FAVUseful regex functions

    PHP regex functions validation saved by 4 people
    posted on April 20, 2009 by fackz
  12. FAVExtract all links from a page using Regex

    PHP regex file html links extract saved by 4 people
    posted on March 2, 2009 by gdvickery
  13. FAVRemove / Replace - href / anchor /link - in html /string - preg_replace - php - regex - regular expression

    PHP regex html links anchor regular Expression href pregreplace anchors saved by 3 people
    posted on March 17, 2012 by rwunsch
  14. FAVregular expression examples

    PHP regex examples lib samples saved by 3 people
    posted on January 12, 2011 by metoikos
  15. FAVexploding a string by line breaks accounting for cross platform

    PHP regex linebreaks saved by 3 people
    posted on October 13, 2010 by thiswayup
  16. FAVSanitize Input

    PHP regex input sanitize saved by 3 people
    posted on June 30, 2009 by cshaiku
  17. FAVReplace a URL with its domain name and create link

    PHP regex url pregreplace saved by 3 people
    posted on April 9, 2008 by jaytee
  18. FAVPHP Valid Email

    PHP regex email php saved by 3 people
    posted on January 12, 2007 by gdonald
  19. FAVemail validity check with regex

    PHP regex email saved by 3 people
    posted on December 10, 2006 by assbach
  20. FAVReplace URLs with links - PHP

    PHP regex php regular expressions saved by 2 people
    posted on July 12, 2011 by plesh
  21. FAVyoutube url video id

    PHP regex url php link video id pregreplace YouTube saved by 2 people
    posted on April 20, 2011 by KabuqueJoe
  22. FAVYoutube ID extractor

    PHP regex function YouTube saved by 2 people
    posted on October 14, 2010 by jhonqwerty
  23. FAVRegular Expression to get contents of div[id]

    PHP regex php regular Expression saved by 2 people
    posted on May 25, 2009 by Gustavs
  24. FAVRegex Text Syntax Parser

    PHP regex php replace text syntax saved by 2 people
    posted on April 7, 2009 by caioariede
  25. FAVStrip phone number of all non alpha-numeric characters

    PHP regex php textmate saved by 2 people
    posted on August 13, 2008 by dbug13
  26. FAVCount sentences in a string

    PHP regex php simple String count function str sentences saved by 2 people
    posted on June 25, 2008 by evanwalsh
  27. FAVCensor bad words with regexp

    PHP regex replace censor saved by 2 people
    posted on May 19, 2008 by oso96_2000
  28. FAVUK postcode parser

    PHP regex php array postcode saved by 2 people
    posted on March 17, 2008 by naz
  29. FAVCheck University Email (.edu)

    PHP regex email mail check security college school university edu saved by 1 person
    posted on September 14, 2013 by phpdev
  30. FAVValidate HTML Color (Both HEX & Named)| Regex

    PHP regex hex validation color colors validate saved by 1 person
    posted on November 3, 2012 by STaRDoGG
  31. FAVReplace url in a string with preg_replace even without http://

    PHP regex url php link saved by 1 person
    posted on March 31, 2012 by Criptt
  32. FAVGet YouTube Video ID [Very robust]

    PHP regex url parse video code id YouTube token saved by 1 person
    posted on January 3, 2012 by jmiller
  33. FAVGet Apache Version and other installed software versions as associative array

    PHP regex php apache version saved by 1 person
    posted on April 27, 2010 by naz
  34. FAVLinkify - Convert Text to Links

    PHP regex saved by 1 person
    posted on February 28, 2009 by troynt
  35. FAVgetStrippedTitle

    PHP regex title symfony stip saved by 1 person
    posted on December 16, 2008 by Zver
  36. FAVStrip punctuation from text.

    PHP regex strip remove clean regexpr punctuation saved by 1 person
    posted on March 11, 2008 by localhorst
  37. FAVRemove excess whitespaces from string / Remove espa├žos em excesso de uma string

    PHP regex php String sanitize saved by 1 person
    posted on January 29, 2008 by rafaelmt
  38. FAVReplace URL with link

    PHP regex saved by 1 person
    posted on December 29, 2006 by fugue
  39. FAVPHP - Extract numbers from a string

    PHP regex php numbers regular expressions strings
    posted on June 28, 2013 by satie83
  40. FAVRegex Clipboard Class (Mini-Template Engine)

    PHP regex class php template
    posted on November 18, 2012 by halk
« Prev [Page 1 of 2] Next »