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
Marco
NA
59
0
Regex
Sep 20 2009 2:02 PM
Hello,
new to Regex I need an hint how the special characters work; I must split a string that contains an XML file splitting by
<, >, /> and =
Moreover inside the xml I have some lines like this:
<output mess="Array<Token>"/>
but in that case I don't need to split it; every thing inside the " " mustn't be split
I wrote this:
static public String[] tokenize(string filetext) {
Regex reg = new Regex(@"<");
return (reg.Split(filetext));
}
But it only return the original string without '<'. It's not what I need but maybe you can suggest me what I'm looking for.
thanks,
Reply
Answers (
1
)
Desktop Resizing using C#.net
Raising and subscribing to events