Tech
Forums
Jobs
Books
Events
Live
Interviews Prep
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
5
Reply
Regular Expression for Exact Extension for a Filename
sampath meka
Dec 10 2014 1:03 AM
627
Reply
Hello All,
My question is i have following file names where it process based on the extension type using regular expression only.
myname.c
myname.csi
myname.ctr
myname.hsi
myname.h
myname.htr
For the above strings if we apply regular expression the output should be
myname.c
myname.h
I want only file name with extension .c and .h only
Thanks & Regards,
Sampath
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
why am I getting error 321 here
Display PDF file on selection of hyperlink of gridview