Grep / RegExp help
        Posted  
        
            by Calvin
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Calvin
        
        
        
        Published on 2010-03-12T04:48:53Z
        Indexed on 
            2010/03/12
            4:57 UTC
        
        
        Read the original article
        Hit count: 483
        
grep
Hi everyone! I apologize if this is a really stupid question. I have data in the format:
etc etc etc <span>etc etc etc</span> etc etc etc
etc etc etc <span>etc etc etc</span> etc etc etc
etc etc etc <span>etc etc etc</span> etc etc etc
Is there a way to grep each line for a match that falls outside of the span tags?
© Stack Overflow or respective owner