c# - Scanning online directory using regular expressions -


Looking at a directory on a website where all the files have the same substrings (i.e. "AAA") and then the date An Excel file extension, how do I use a regular expression to match one of those files? For example, a file should be "aaa-2014_14_09.xlsx" or "aaa-2014_25_11.xlsx" .

I have a look at C # regex , but have not done any solution till now.

You can try the reggex given below but it will not check for an exact date.

  \ baaa- \ d {4} _ \ D {2} _ \ d {2} \. Xlsx \ b   



Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -