Search Results

Search: Posts Made By: roshansharma
1,575
Posted By roshansharma
RegEx - selective delete around a pattern
I need RegEx to delete text block delimited by "^--" and "^request saved" if the block contained the pattern "FAILED:No air,rail,hotel or car" in the following.

Many thanks in advance!
...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 06:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy