Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    attempt 2 yields: d
    attempt 3 yields: aAcd
    attempt 4 yields: aAcd
    
  2. or download this
    URL: 
        domain: 
            match: http://(\w+)\.(\w+)\.
            replace: $2
    
  3. or download this
    apply s/http://(\w+)\.(\w+)\./$2/ to 'URL' to produce 'domain'