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

New telephone system - working a day early.
01225 708225 (phone) and 01225 899360 (fax) again ;-)
Upcoming U.K. PHP courses ...
Learning to program in PHP
PHP Programming
Object Oriented PHP
PHP Techniques Workshop

Related technical and longer articles
An overview of PHP String functions
Analysing incoming data lines
Nasty Characters in Web Applications
Pattern Matching - a primer on regular Expressions
Web Page and HTML Spell Checker
Tips and short articles on this subject
Curly braces within double quoted strings in PHP
Handling nasty characters - Perl, PHP, Python, Tcl, Lua
Making Regular Expressions easy to read and maintain
Finding variations on a surname
Regular Expressions in PHP
Regular expression for 6 digits OR 25 digits
Do not SHOUT and do not whisper
Short and sweet and sticky - PHP form input
A taster PHP expression ...
Ignore case in Regular Expression
Regular Express Primer
PHP Regular expression to extrtact link and text
Date conversion - PHP
Looking ahead and behind in a Regular Expression
Evaluating arithmetic expressions in configuration files
How similar are two words
Don't expose your regular expressions
Robust PHP user inputs
PHP - dividing a string up into pieces
The fencepost problem
Converting between acres and hectares
Running a Perl script within a PHP page
Splitting the difference
PHP Magic Quotes
the array returned by preg_match_all
PHP and natural sorting
Here documents
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
PHP module H107
String Handling in PHP
Exercises, examples and other material relating to training module H107. This topic is presented on public courses Learning to program in PHP, PHP Programming

PHP Programming - Learn PHP, and its use as a Web-scripting language This course covers the fundamentals of programming in PHP and Web-related issues ...
http://www.wellho.net/course/phfull.html  [course]
Learning to program in PHP - Learn PHP, and its use as a Web-scripting language This course covers the fundamentals of programming in PHP and Web-related ...
http://www.wellho.net/course/pffull.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]
Our web site update has been progessing well over the last couple of weeks - you'll probably have notices that most of the pages changed a fortnight ago ...
http://www.wellho.net/mouth/493_Runn ... -page.html  [short article]
Beginning PHP for the leisure market - Learn how to make you web site more dynamic This is a two day weekend course which is designed for the delegate ...
http://www.wellho.net/course/xafull.html  [course]
div class= introsubheads PATTERN MATCHING (OR HOW TO DO A LOOK LIKE) BR /div You can test a string against a pattern (known as a REGULAR EXPRESSION ...
http://www.wellho.net/solutions/php-patt ... sions.html  [longer article]
A simple piece of code to show you some examples of date reformatting in PHP. Frequently, you'll get dates in a format such as the ones I've started ...
http://www.wellho.net/mouth/1008_Dat ... n-PHP.html  [short article]

The text processing facilities in PHP are wide ranging. Functions are provided for all the common functionality (high-level and low-level) that's required by most users, and for much more besides. We have a saying in PHP Ð "There's a function to do that" Ð and nowhere does it apply more than in text processing.

This topic is presented on public courses Learning to program in PHP, PHP Programming

Examples from our training material
bustimes.php   Using PHP to format data (timetable in this example)
clformat.php   Formatting data [file] for quick web display
code   Reaping from an HTML page with regular expressions
echovalley.php   How to put in blocks of HTML
extrawords   Extra words for spell checker
myform.php   Robust, sticky form demo with field validation
mystdinc.inc   Include file for sticky fields demo
pmoffs.php   Capturing regular expression offsets
regex.php4   Regular expression - validating an email address
s1.php4   Single and double quoted strings
s2.php4   Character string as an array
s3.php4   String cleansing with functions such as strspn
secdo.php4   Convert seconds to minutes and seconds
sfex.php   Demo of sticky fields and security
shunt.php   Evaluting BODMAS expression using MySQL cell tables
spell.php   Spell Checker
sprint.php4   Formatting with sprintf
stdist.php   Search - do two words look or sound the same?
stickform.php   Stick Fields and Input Validation
strp.php   Curly braces in double quoted strings
toke.php4   String tokenising - strtok, implode, explode
Pictures
String overview - Form to variable to SQL ... to variable to HTML
"There's a function to do that" - answer to all PHP questions?
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 http://www.training-notes.co.uk.
Topics covered in this module
Review of the fundamentals.
Formatting strings.
String cleansing.
Low-level string manipulation.
Tokenizing a string (explode).
Regular expressions.
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: 0800 043 8225 or 01225 708225 • FAX: 01225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho