PHP Regular Expression (Regex) Functions List

Perl-Compatible Functions List

  1. preg_grep — Return array entries that match the pattern
  2. preg_match_all — Perform a global regular expression match
  3. preg_match — Perform a regular expression match
  4. preg_quote — Quote regular expression characters
  5. preg_replace_callback — Perform a regular expression search and replace using a callback
  6. preg_replace — Perform a regular expression search and replace
  7. preg_split — Split string by a regular expression

POSIX Extended Functions List

  1. ereg_replace — Replace regular expression
  2. ereg — Regular expression match
  3. eregi_replace — replace regular expression case insensitive
  4. eregi — case insensitive regular expression match
  5. split — split string into array by regular expression
  6. spliti — Split string into array by regular expression case insensitive
  7. sql_regcase — Make regular expression for case insensitive match

If you like the post & want to get more then Subscribe our blog posts. Subscribe SunwareTech.net RSS Feed Facebook Twitter Email

Both comments and pings are currently closed.

2 Responses to “PHP Regular Expression (Regex) Functions List”

  1. ruchanie says:

    This is such a great resource that you are providing and you give it away for free. I love seeing websites that understand the value of providing a quality resource for free. It?s the old what goes around comes around routine.

  2. facebook123 says:

    Recommeneded websites…

    […]Here are some of the sites we recommend for our visitors[…]……

Copyright © Sunware Technologies - Your web partner