Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

Tips and short articles on this subject
Seven new intermediate Perl examples
Finding words and work boundaries (MySQL, Perl, PHP)
Regular expression for 6 digits OR 25 digits
Replacing the last comma with an and
A taster PHP expression ...
Ignore case in Regular Expression
Matching within multiline strings, and ignoring case in regular expressions
Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Object Orientation and General technical topics module Q803
Regular Expressions - Extra Elements
Exercises, examples and other material relating to training module Q803. This topic is presented on public course Regular Expressions

Regular Expressions - Making the most of Pattern Matching Regular expressions are probably the most powerful pattern matching tools that is available. ...
http://www.wellho.net/course/refull.html  [course]
Do you want to ignore case in a regular expression? There are a variety of ways of doing it ... depending on the language you're writing. Here are ...
http://www.wellho.net/mouth/1336_Ign ... ssion.html  [short article]
Regular Expressions are powerful matching tools and you can specify almost anything within them. But there are certain facilities that are naturally ...
http://www.wellho.net/mouth/943_Matc ... sions.html  [short article]
I can write a regular expression to match ANY number of digits between 6 and 25 ... ^[[:digit:]]{6,25}$ but how would I write a regular expression to ...
http://www.wellho.net/mouth/1613_Reg ... igits.html  [short article]
If you're searching for the word "mile", you probably don't want the page that tells you that Sally Smiled at Harry. But you may want to find a Milestone, ...
http://www.wellho.net/mouth/1735_Fin ... -PHP-.html  [short article]
From the "learning to program in Perl" course I'm running this week, I am pleased to present seven new examples ... written during the course, in front ...
http://www.wellho.net/mouth/1860_Sev ... mples.html  [short article]
If I have a list, I'm likely to want to present it comma separated for the most part, but with the word "and" between the last two elements. "Cambridge, ...
http://www.wellho.net/mouth/1601_Rep ... n-and.html  [short article]

As well as matching a pattern, a regular expression can be used to filter out part of a string. This is a very powerful feature, but then you'll also need to learn about capture brackets, sparse and greedy matches, modifiers and more.

This topic is presented on public course Regular Expressions

Examples from our training material
bref   Back References
isbn   Testing validity of ISBN number, including check digit
pcode   Perl - match and extract from a postcode
Background information
You may download this module as a sample of our material
Topics covered in this module
Capturing matches.
Which match?.
Alternation.
Sparse matches.
Look around, ahead, behind.
Modifiers.
Ignoring case..
Global matching.
Modifiers that fine tune individual regular expression elements.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 700 books on the subjects on which we teach. These books are available for reference at our training centre. Also available is the Opentalk Forum for discussion of technical questions.


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2010: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 344596 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho