find and replace with multiple regular expressions
Limit a search and replace operation between lines matching 2 regex patterns using /pattern1/,/pattern2/s/search/replace/
Limit a search and replace operation between lines matching 2 regex patterns using /pattern1/,/pattern2/s/search/replace/