- Edited
So I haven't used regular expressions before and I need to find a pattern in a text, thought I'd get some quick help here.
Consider the following text:
foobarimgres?imgurl\x3dhttp://www.mywebsite.com/picture.jpg\x26foobar
I want to locate the string right after imgres?imgurl\x3d and ending with \
(basically this the url of the picture).
I'm using C#'s RegEx.Matches that takes a string input and string pattern, and puts the matched results in a MatchCollection.
Consider the following text:
foobarimgres?imgurl\x3dhttp://www.mywebsite.com/picture.jpg\x26foobar
I want to locate the string right after imgres?imgurl\x3d and ending with \
(basically this the url of the picture).
I'm using C#'s RegEx.Matches that takes a string input and string pattern, and puts the matched results in a MatchCollection.