I'm trying to replace on the following data, from Item Id:
to the end of the last line that contains end:
Some junk
Item Id: 401421502995
end: blah blah blag, Item Id: 401343012211
end: blah blah blah blah basdfasd
Some other junk
So in essence all this stuff will be replaced
Item Id: 401421502995
end: blah blah blag, Item Id: 401343012211
end: blah blah blah blah basdfasd
Leaving me with
Some junk
Some other junk
This comes in several configurations, however the line end:
is on needs to go
Here's what i have, it matches up to the end:
but doesn't continue to the end of the line
(Item Id:).*?(end:)
How do i do include \n
my brain is shot