Posts tagged as:

programming

Regular Expression Basics

by Tony Mattke on June 4, 2009



Before I even get started, I want to mention that not all regular expression metacharacters are supported in every application. Keep this in mind when building your matches.

Regular expressions are made up of normal characters and metacharacters. Normal characters include upper and lower case letters and numerals. The metacharacters have special meanings and can match any number of things.

In the simplest case, a regular expression looks like a standard search string. For example, the regular expression “test” contains no metacharacters. It will match “test” and “test123″ but it will not match “Testing123″. Metacharacters help solve these simple dilemas, here is a table of such characters.

[ read more... ]

{ 0 comments }