TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sampath meka
NA
94
31.4k
Regex for filename
Dec 10 2014 11:34 AM
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
Reply
Answers (
3
)
c# program query.
using function input data and print data.