This question is more of a c# question, but it's in regard to searching placeholders in one of my asp.net pages and replacing the text. Would anyone know how I can search through all text in a string and replace any word that starts with and ends with a
pattern. In my situation it's "##TEXT##" less the double quotes. I would like to replace all place holders that start and end with the ##. I replace all instances of that pattern if I have data, but at the end of my function I would like to do a mass replace
of unpopulated values.
Here is an example of what I do for a particular field.
strFooter = strFooter.Replace("##FOLLOWUP##", action.FollowUp == true ? "Yes" : Go to the complete details ...