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
J Moreno
NA
7
3k
Help! Need a regex pattern to parse a string from pathname URI
Jan 10 2011 2:03 PM
I'm working with asp.net C# and need a regex pattern to extract a portion of a pathname URI.
Example:
pathName1 = "/Tests/plans.aspx";
pathName2 = "
http://mydomain.com/Tests/plans/error.aspx
";
In both cases I need the pattern to extract "/Test/plans" from the given pathname. How would I do this?
Reply
Answers (
1
)
How do i get network trafic information in .net ? i also want information for godd and bad packets?
What is the purpose of using div tag in asp.net?