Q: How do I get a substring from a string I need to retrieve the date substring from the following string:

DEV_ACID_C179456_2016-11-05_0009_Build


A: Quick oneliner:
([regex]::Matches("DEV_ACID_C179456_2016-11-05_0009_Build",'\d{4}-\d{2}-\d{2}')).value

But you need to do your research and share your code as well.
