Hi
This is my filename "abc_{yyMMdd_HHmmss}". Here I need to retrive the values inside open and close breces.
Please post solution for this post.
Thanks in Advance
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Aug 22, 2014, 10:09 AM
// ...
string whatsInBraces = Regex.Match(fileName, @"\{(.*?)}").Groups[1].Value;