Online PHP Function(s){ #Test PHP functions online!; }

  •  
 

Regular Expressions

Regular Expressions are powerfull tools in PHP. You can find them here.

ereg Searches a string for matches to the regular expression given in pattern in a case-sensitive way.
eregi This function is identical to ereg() except that it ignores case distinction when matching alphabetic characters.
eregi_replace This function is identical to ereg_replace() except that this ignores case distinction when matching alphabetic characters.
ereg_replace This function scans string for matches to pattern, then replaces the matched text with replacement.
preg_filter Perform a regular expression search and replace
preg_grep Return array entries that match the pattern
preg_last_error Returns the error code of the last PCRE regex execution
preg_match Use a regular expression to match a string
preg_match_all Perform a global regular expression match
preg_quote Quote regular expression characters
preg_replace Perform a regular expression search and replace
preg_replace_callback Perform a regular expression search and replace using a callback
preg_split Split string by a regular expression




 
 
 
      © 2017 OnlinePHPFunctions.com | Disclaimer |       PHP versions: 7.1.0, 7.0.14, 7.0.5, 7.0.4, 7.0.3, 7.0.2, 7.0.1, 5.6.29, 5.6.20, 5.6.19, 5.6.18, 5.6.17, 5.6.2, 5.5.34, 5.5.33, 5.5.32, 5.5.31, 5.5.18, 5.5.5, 5.5.0.a6, 5.5.0.a.5, 5.5.0.a.2, 5.4.34, 5.4.21, 5.4.13, 5.4.12, 5.4.11, 5.4.10, 5.4.9, 5.4.8, 5.4.7, 5.4.6, 5.4.5, 5.4.4, 5.4.3, 5.4.2, 5.4.1, 5.4.0, 5.3.29, 5.3.27, 5.3.23, 5.3.22, 5.3.21, 5.3.20, 5.3.19, 5.3.18, 5.3.17, 5.3.16, 5.3.15, 5.3.14, 5.3.13, 5.3.12, 5.3.11, 5.3.10, 5.3.2, 5.3.1, 5.3.0, 5.2.17, 5.2.16, 5.1.6, 5.1.5, 5.0.5, 5.0.4, 4.4.9