Timeline for Sed how to extract text between two tags but including it
Current License: CC BY-SA 4.0
        7 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Dec 2, 2019 at 16:12 | history | suggested | bas | CC BY-SA 4.0 | 
        
            
             
                
                    spelling: change "beetween" to "between" 
                
             
        
     | 
| Dec 2, 2019 at 15:40 | review | Suggested edits | |||
| S Dec 2, 2019 at 16:12 | |||||
| Dec 2, 2019 at 14:51 | vote | accept | Luciano Andress Martini | ||
| Dec 2, 2019 at 14:32 | history | edited | Jeff Schaller♦ | 
        
            
             
                
                    edited tags 
                
             
        
     | 
|
| Dec 2, 2019 at 14:15 | answer | added | rush | timeline score: 3 | |
| Dec 2, 2019 at 14:12 | comment | added | Kusalananda♦ | 
        
            
    What your sed expression is doing is printing all the lines between the matches of /<a href=\(.*\)>/ and of /<\/a>/.  If this is a well formed XML document, you may want to look into using an XML parser instead, such as xmlstarlet.
        
     | 
|
| Dec 2, 2019 at 14:08 | history | asked | Luciano Andress Martini | CC BY-SA 4.0 |