Displaying page
of
 pages;
Items  to 
    
    
            
                
                    | Title | Test
                        Details
                        
                        
                            Pattern Title | 
                
                    | Expression | 
                            src[^>]*[^/].(?:jpg|bmp|gif)(?:\"|\')
                         | 
                
                    | Description | This expression will return the src (source) property of an image tag <IMG>. The source returned is limited to the file extensions supplied. It doesn't matter if the image is prefixed with '../' or 'http://..blah' or 'drive\path' or nothing. This expression could be modifed to return other sources or for the tags (ie <BGSOUND>, <SCRIPT>, etc.) depending on the file extensions given.
I needed this to replace the source of images in a HTML page when I wanted to save the page to a local drive and keep the images intact.
If anybody could modify this further to include only the <IMG> tag, I would appreciate the effort. | 
                
                    | Matches | src="../images/image.jpg" | src="http://domain.com/images/image.jpg" | src='d:\w | 
                
                    | Non-Matches | src="../images/image.tif" | src="cid:value" | 
                
                    | Author | Rating:  Lloyd Sturge | 
            
        
    
        
        
   Displaying page
of
 pages;
Items  to