Regular Expressions and Pattern Matching

Because the Perl language is a flexible text-processing language, the regular expressions are an integral part of it. To handle this it were implemented a lot of regular expressions making it possible to do a lot of tasks including complex string comparisons, complex string selections and replacements, string pattern matching and many other.

Through the Perl available functions that focus on regular expression, we'll describe here the most important and the very often used:

split converts a string into a list and returns that list; the words of the string must be delimitated by a separator

Table of Contents:

A Perl Script
Install Perl
Running Perl
Perl Data Types
Perl Variables
Perl Operators
Perl Lists
Perl Arrays
    Array Size
    Array Length
Perl Hashes
Perl Statements
    Perl if
    Perl unless
    Perl switch
    Perl while
    Perl do-while
    Perl until
    Perl do-until
    Perl for
    Perl foreach
Built-in Perl Functions
    Functions by Category
        String Functions
        List Functions
        Array Functions
        Hash Functions
        Miscellaneous Functions
    Functions in alphabetical order

return from Regular Expressions and Pattern Matching to Perl Basics

Would you like to create your own website like this one?
Hit the Alarm Clock!

Site Build It!