I wonder how to get a string (or array of strings) between two known tags.
For example I have this string
string var1="my first video is and my second is";
How to get these values http://video.com/aaa and http://video.com/bbb?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
use this pattern:
@"\[video.*?\](.*?)\[/video\]"and then get group 1. I won’t post the whole code because I dont want to do your work for you. Read about C# Regexes, Patterns and try to write your code with this pattern.