CCL Home Page
  CCL Regular expressions practice

Practice Your Perl Regular Expression Skills

Play with this gizmo as follows

  • Enter text in the area on the left,
  • enter the regular expression to match this text (the surrounding slashes / are already added for your convenience),
  • finally, add the modifier(s) of the regular expression. Only i, s and/or m are allowed here.

After you entered your data, please click on

Text   /Regular Expression/ Modifiers
=~ //

Click on when finished.

If you are new to regular expressions, please glance at the introduction to Perl text matching with the regular expression at: