In reply to Re^3: How to match and transform a multiline pattern? by apl in thread How to match and transform a multiline pattern? by nbhatia