Help for this page

Select Code to Download


  1. or download this
    s/\s*<img.*src="[^"]*(?<!\/someimage)\.jpg".*>//gm
    
  2. or download this
    s/\s*<img.*src="http:\/\/(?!images\.google\.com\/)[^>]+>//gm
    
  3. or download this
    #!/usr/bin/env perl
    
    ...
    
    print "Modified markup:\n";
    print $html_fragment;
    
  4. or download this
    Initial markup:
        <img src="http://images.google.com/someimage.jpg" />
    ...
        <img src="http://anythingelse.com/etc.jpg" />
    Modified markup:
        <img src="http://images.google.com/someimage.jpg" />
    
  5. or download this
    #!/usr/bin/env perl
    
    ...
    
    print "Modified markup:\n";
    print $html_fragment;
    
  6. or download this
    Initial markup:
        <img src="http://images.google.com/someimage.jpg" />
    ...
    Modified markup:
        <img src="http://images.google.com/someimage.jpg" />
        <img src="http://images.google.com/NOTsomeimage.jpg" />