Regex match every occurrence

I see. My error was I put the question mark at the end of my pattern not before the period. This site gave a nice explanation and highlights my regex pattern differences. The following worked for me. I like to use the least amount of code possible and keep regular expression patterns as short as possible. Thanks for the help.

[regex]::Matches($string, '\d{4}-.+?\.\d+')