Summary

In this hour, you learned what regular expressions are, how they're constructed, and how they're used in Perl. Regular expressions are made up of normal characters and metacharacters. The normal characters all stand for themselves (usually), and the metacharacters alter the meanings of the normal characters (or each other). These regular expressions can be used to test for the presence of patterns or substitution.

Get Sams Teach Yourself Perl in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.