Web Design Tutorials and Articles: Regular Expressions in Perl for the Novice

By Chrysanthus - About Me - E-mail this page - Add to My Favorites - Add to Blog List - See other blogs in Computers & Internet

Wednesday, April 8, 2009

Regular Expressions in Perl for the Novice

Regular Expressions in Perl for the Novice – Part 1 Introduction Consider the string, “This is a man”. Assume that you do not know the content of the string; the string might have been typed by the user and the Perl code has assigned it to a variable. You may have the following two questions: 1) Does the sting have the word, “man”? 2) If the string has the word, “man”, can you change it to “woman”. There are many other questions that are similar (and rather complex) to the above two questions.... Sign in to see full entry.

Previous: Extra Features in PHP Regular Expressions - New Entries - Next: Regular Expression Patterns in Perl

Headlines (What is this?)