I have a string..
“I am a number #Number# and I am a letter #Letter# as a test”
I am trying to use a Regex.Matches to grab the string #Number# and #Letter# out of the string..
Ive tried a bunch of different regular expressions without any luck
Any idea what kind of regular expression pattern to use to pull out the words between the # but include the # on both sides
Use this regex:
#[^#]*#. It will match#Number#and#Letter#.