Actions

Regular Expression

Revision as of 14:56, 26 January 2010 by Lucas Trottier (talk | contribs) (Create Regular Expression root page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Introduction

A regular expression (regex or regexp for short) is a special text string for describing a search pattern. You can think of regular expressions as wildcards on steroids.

You are probably familiar with wildcard notations such as *.txt to find all text files in a file manager, the equivalent regex would be :

/.*\.txt$/