1. Home
  2. Computing & Technology
  3. PHP / MySQL
photo of Angela Bradley

Angela's PHP / MySQL Blog

By Angela Bradley, About.com Guide to PHP / MySQL

The Three Most Basic Regular Expressions

Tuesday June 12, 2007
The three most basic regular expressions are:
  • "^Abc" which searches for something at the beginning of the string
  • "Abc$" which searches for something at the end of a string
  • "Abc" which searches for anywhere within the string

Comments

June 26, 2007 at 3:14 am
(1) David Osborne says:

You may want to check the first bullet point here??

June 27, 2007 at 4:15 pm
(2) Bryce Morrison says:

You might want to preface the article with an example of PHP or MySQL code, so the reader knows what this applies to.

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore PHP / MySQL

More from About.com

  1. Home
  2. Computing & Technology
  3. PHP / MySQL

©2008 About.com, a part of The New York Times Company.

All rights reserved.