Regular expressions in Perl - a summary with examples


Examples of simple use in Perl statements

These examples use very simple regexps only. The intent is just to show contexts where regexps might be used, as well as the effect of some “flags” to matching and replacements. Note in particular that matching is by default case-sensitive (Abc does not match abc unless specified otherwise).


Source: http://jkorpela.fi/perl/regexp.html


Read more on this website >>