| Title | 
                
                    Test
                    Find
                    
                    Pattern Title
                 | 
            
            
                | Expression | 
                <(\/{0,1})img(.*?)(\/{0,1})\>  | 
            
            
                | Description | 
                This regular expression allows you to match all image tags  | 
            
            
                | Matches | 
                <img src="immy.jpg" alt="Image"> | <img src="immy.jpg" alt=&q  | 
            
            
                | Non-Matches | 
                < img >  | 
            
            
                | Author | 
                
                    Rating:
                        
 
                    Alessandro Pellegrini
                 | 
            
            
                | Source | 
                 | 
            
            
              | Your Rating | 
              
                
		       | 
            
        
    
 
    
    
     
        
                
	                Title: Fails when the alt text contains >
	                Name: Randal L. Schwartz
	                Date: 3/11/2005 10:17:34 AM
	                Comment: 
Do not parse HTML with regex.  Use a real regex parser.  Like most regex that parse HTML, this one fails if the alt text contains a greater-than, which is perfectly legal.