i need to search a document for a string , B7= , this is followed by multiline text within single quotes. There are many such blocks A0 - Z9. I need to be able to search for that pattern and then replace the text between the following quotes. The pattern is in a variable and so is the substitution. Any help appreciated
Code: Select all
A0='test|
Title: "food"
Ingredients: delicios
FIELD2:
FIELD3:
FIELD4:
FIELD5:
FIELD6:
FIELD7:
Notes:
'
A1='test|
Title: "food"
Ingredients: delicios
FIELD2:
FIELD3:
FIELD4:
FIELD5:
FIELD6:
FIELD7:
Notes:
'
A2='test|
Title: "food"
Ingredients: delicious
FIELD2:
FIELD3:
FIELD4:
FIELD5:
FIELD6:
FIELD7:
Notes:
'
A3='test|
Title: "food"
Ingredients: delicious
FIELD2:
FIELD3:
FIELD4:
FIELD5:
FIELD6:
FIELD7:
Notes:
'