Regular Expressions :: introduction

Regular expressions are a mini-language for matching patterns in strings so that you can find, replace, and/or capture parts of strings. One way to think of this is as "math for strings." *

A few examples in this section have been generously provided by A. Lewin, A Lin, J. Deri, et al: Harvard Extension School :: Practical Perl.