- You are here:
- WebsiteTips Home
- Web Site Resources
- Markup, Code
- Regular Expressions
Regular Expressions, aka Regex
Within the Regular Expressions, aka Regex, section you'll find helpful annotated links to articles, tutorials, scripts, regular expressions cheat sheets, charts and more related to regular expressions. In addition are listings of online forums and websites devoted to regular expressions, and other regex links resources. You'll also find a listing of recommended books on regular expressions, including the highly recommended Mastering Regular Expressions, by Jeffrey Friedl, and others.
Know of some good articles, tutorials, books, or resources related to regular expressions? Recommendations are welcome and encouraged!
On this page:
- Regular Expressions Articles and Tutorials
- Sites, and Other Resources on Regular Expressions
- Regular Expressions Tools
- Recommended Books on Regular Expressions
More Tools, Software within Web Site Resources
Regular Expressions Articles, and Tutorials
In addition to the tutorials below on regular expressions, see also WebsiteTips.com's Web Resources PHP Tutorials
Tutorials on Regular Expressions and PHP section.
- 12 Reasons to
Learn and Use Regular Expressions
Excellent introduction to regular expressions with practical, real-world examples, references, more. [Article/tutorial dated 05/05/2005, by Edward Abbott, Website Repair Guy.] - A Brief Guide to Regular Expressions
by Dorothea Salo, is a terrific introduction that explains how regular expressions work and provides some helpful examples. [Article/tutorial by Dorothea Salo, TextArtisan.com.] - Five Habits for Successful Regular Expressions
Very helpful tips to keep in mind when creating regular expressions. [Article/tutorial dated 08/21/2003, by Tony Stubblebine, for O'Reilly ONLAMP.] - Pattern Matching and Regular Expressions
by WebReference.com, is a helpful tutorial that explains how to use regular expressions in JavaScript to analyze the user's input and verify information, such as an email address or phone number. [Article/tutorial updated 12/04/1997 by WebReference.com.] - Regex Tutorial - Literal Characters and Special Characters
Definitions, explanations, plenty of examples here. Covers literal characters; special characters and escapes for them, including the opening square bracket [, the backslash \, the caret ^, the dollar sign $, the period or dot ., the vertical bar or pipe symbol |, the question mark ?, the asterisk or star *, the plus sign +, the opening round bracket ( and the closing round bracket ); special characters and programming languages; non-printable characters, including tab, return, line feed, bell, escape, form feed, and more. This is part of a series of tutorial on regular expressions. [Article/tutorial regularly updated, last updated 09/03/2007, by Jan Goyvaerts, Regular-expressions.Info.] - Regular Expression Basics
This easy-to-understand tutorial includes many examples of how to use regular expressions. [Article/tutorial updated 03/21/2002 by Chris Spruck (sprocket), for evolt.org.] - Regular Expressions Tutorial - Learn How To Use Regular Expressions
Fabulous, easy-to-understand introduction to regular expressions. This is the first of an entire series of tutorials on regular expressions. [Article/tutorial series, by Jan Goyvaerts, for Regular-expressions.Info.] - Using Regular Expressions in Web Work
Top-notch, thorough tutorial on regular expressions, packed with references. [Article/tutorial updated 2006-08-22 by Michael Smith, Backdoor Tech.] - Using Regular Expressions
A helpful introduction with examples by Stephen Ramsay, Assistant Director of the Electronic Text Center, University of Virginia. [Article/tutorial updated 01/17/2005 by Stephen Ramsay, for Electronic Text Center, University of Virginia.]
Related within Web Resources:
Sites, Online Forums, and Other Resources on Regular Expressions
Online Forums on Regular Expressions
- DevNet Forums: Regex
Busy, active forum on regular expressions via the DevNet Forums. There's a helpful FAQ, links to resources and regex tools, a regex “crash course”, along with a busy forum of questions and responses. Great source for regex. [Online forums via DevNet.] - p2p.wrox.com Forums - Beginning Regular Expressions
Forum centered around the book, Beginning Regular Expressions, by Andrew Watt. [Online forums via Wrox.] - RegexAdvice: Forums
Fairly busy forums all devoted to regular expressions. Good place to check out for regex info and help. [Online forums via RegexAdvice.] - SitePoint Forums: Regular Expressions (search results)
This link gives the search results across all the forums at SitePoint for the term “regex.” Results cover regex for PHP, Apache, MySQL, Google, Web page design, HTML and XHTML, and more. [Online forums via SitePoint.] - Webmasterworld: Regular Expressions (search results)
This link gives the search results across all the forums at Webmasterworld for the term “regex.” Results cover regex for PHP, Perl, Apache, JavaScript, and much more. You can also go to the category for what you're working on and check specifically for that regex. Paid subscription required for access to full viewing, asking, or responding to questions. [Online forums via Webmasterworld.]
See also Discussion Lists, Online Forums, and Newsgroups. Many of the discussion lists noted there include regular expression topics.
Sites or Sections of Sites Devoted to Regular Expressions
- Regex Library
You'll find an index of over 1300 regular expressions from 880+ contributors, a cheatsheet, forums, blogs, a mailing list, resources, a regular expressions tester, and more. You can search for regular expressions and browse through them by section, such as email, URI, numbers, strings, dates and times, and a miscellaneous section for everything else, such as a credit card validator just for American Express, MasterCard and Visa. [Website: Regex Library.] - Regular-expressions.Info
You'll find tutorials, tools & languages, examples, books & references, and more. [Website: Regular-expressions.Info.]
Other Regular Expressions Links Resources
- Google Directory: Regular Expressions
Quite a listing from Google.
Regular Expressions Tools
Helpful tools for regular expressions, such as editing tools, cheat sheets, and more.
Regular Expressions Editors
- RegexBuddy
Popular software to help you easily create, check, and use regular expressions. For Windows. [Software by JGSoft.]
Regular Expressions Charts, Cheat Sheets
- mod_rewrite Cheatsheet
Includes regular expressions with Apache mod_rewrite, too. Free to download in PNG or PDF format. [Article/tutorial dated 05/10/2005, by Dave Child, I Love Jack Daniels.] - RegExLib.com Regular Expression Cheat Sheet (.NET)
Printable chart / table that includes: Metacharacters Defined, Metacharacter Examples, Character Escapes, Character Classes. [Regular Expression Chart, Cheat Sheet by Regex Library.] - Regular Expressions
Excerpt from VisiBone's JavaScript Reference chart that includes regular expressions. [JavaScript chart by Bob Stein, VisiBone.]
Recommended Books on Regular Expressions
Read short reviews and find more book recommendations on Web site-related topics in our Recommended Books, Software section!
Sponsored Links: