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
Tom Stephenson
NA
1
0
RegEx trouble - need help matching a string
Apr 24 2006 6:15 PM
Hi there, I am passing a selected area of text as a string (from an IDE text editor) and attempting to match it against a textfile using the following regex : Regex targetExpOld = new Regex(@"^\s+"+content+ @"\s+$", RegexOptions.Multiline); if content = "int i = 6;" i get a match however if content contains a "." or a "(" it doesnt find a match any idea how i can dodge this - i realise its a problem with special characters but I'm new to regex and dont have time to become an expert!(just yet) kind regards Tom
Reply
Answers (
1
)
problem in data grid
why override is required in c#??