I'm building a regex and I'm missing something as it's not working properly. my regex logic is trying to look for anything that has #anychars# and return the number of matches on the sentence and not a single match. Here are a few examples
1- #_Title_# and #_Content_# should return two matches: #_Title_# and #_Content_#.
2- Product #_TemplateName_# #_Full_Product_Name_# more text. text text #_Short_Description_# should return 3 matches: #_TemplateName_# #_Full_Product_Name_# and #_Short_Description_#
and so on. Here is what my regex looks like: ^(.*#_.*_#.*)+$
any thoughts on what I'm doing wrong?

#anychars#of#_anychars_#