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