In c#, I'm struggling to create a regex that will pick up each instance of a start -> end character. start char = # end char = ##
text to evaluate: blah blah blah blah #instance1 regex needs to pick this up## blahblah #instance2 regex needs to # ignore hashes# within until it gets to the end##
So i want it to find every instance that starts with "#" and ends with "##" ignoring other hashes in between.
This needs to work across paragraphs of text and to ignore newlines, carriage returns etc. I just want everything between the start # and the end ## for each instance of that pattern.