regex for accepting a file name c#

102

regex for accepting a file name c# -

^[a-zA-Z0-9](?:[a-zA-Z0-9 ._-]*[a-zA-Z0-9])?\.[a-zA-Z0-9_-]+$

Comments

Submit
0 Comments