Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))

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 Q802
Regular Expression Elements
Exercises, examples and other material relating to training module Q802. This topic is presented on public courses Regular Expressions, Intermediate Python

Regular expressions comprise a number of element types such as literals, counts and assertions. In this module, we introduce you to these fundamental elements and show you how to start to build powerful patterns using them.

Related technical and longer articles
Pattern Matching - a primer on regular Expressions
Solution Centre - all article listing
Solution Centre - all article listing

Articles and tips on this subjectupdated
4763Regex Reference sheet
For PCRE (Perl Compatible Regular Expressions) Character classes [abcd] [^abcd] [A-J] [[:word:]] style alnum letters and digits alpha letters ascii character codes 0 - 127 blank space or tab only cntrl control characters digit decimal digits (same as \d) graph printing characters, excluding space lower lower ...
2017-10-11
(longer)
4505Regular Expressions for the petrified - in Ruby
Regular Expressions ... frighten ... newcomers at their apparent peverseness and complexity. But they need not - regular expressions are made up of just a handful of types of elements and once you realise this, they become easy! The background is that you want to ask is a string of text looks like ...
2015-06-03
 
2804Regular Expression Myths
Does this look good to you?   /.*\S+[@]\S+.*/ It shows some regular expression myths that I would like to explode! Myth 1. If you want to match a specific character, you must put it in square brackets. WRONG ... Square Brackets are a grouping - if you're looking to match just a single specific ...
2010-06-18
 
1849String matching in Perl with Regular Expressions
Some languages used adaptive or overridden operator to perform a task depending on the operands - for example in Java, the "+" operator adds numbers, but concatenates strings, and in PHP the == operator compares numbers or strings, depending on the operand types. But in Perl 5, it's often up to the ...
2008-11-02
 
1799Regular Expressions in PHP
Regular Expressions allow you to check if a string of text matches a particular pattern - for example to see if the data that a user has entered into a form looks like a Postcode / zipcode ... and then to extract the vital parts of the string that you're checking into separate variables. Down the left ...
2008-09-16
 
1766Diagrams to show you how - Tomcat, Java, PHP
I like to work with a flipchart occasionally, and I have been doing so quite a bit this week, which is a week that I'm giving a wide ranging web server deployment course under Linux, covering both LAMP / PHP technologies, and Tomcat / Java too. Why do I like using a flipchart? Because it encourages ...
2008-08-24
(longest)
1480Next course - 7th January 2008, Regular Expressions
Yesterday afternoon ... I finished my training for 2007, and I'm now looking forward to two weeks of days with a different metric. Don't get me wrong - I utterly enjoy the training but all sorts of things have been stacking up to attend to including personal time. So it's not "quiet" but rather "different". In ...
2007-12-21
 
453Commenting Perl regular expressions
Do you sometimes find Perl regular expressions hard to follow? If you do, remember that you can use the "x" modifier which allows you to space them out; with the "x" modifier, white spaces in the regular expression are ignored. You can go further; once you've specified the "x" modifier, you can ...
2006-06-05
 
Background information
Some modules are available for download as a sample of our material or under an Open Training Notes License for free download from [here].
Topics covered in this module
Literals.
Assertions.
Character groups.
Special character groups - Perl.
Special character groups - POSIX.
Special character groups - \p.
Any character.
Counts.
Bracketing.
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 Ruby, Lua, 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.


You can Add a comment or ranking to this page

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

PAGE: http://www.wellho.net/resources/Q802.html • PAGE BUILT: Sun Oct 11 14:50:09 2020 • BUILD SYSTEM: JelliaJamb