M
Michael G
I want to match mailto:[email protected] in a string that contains many
similar patterns.
I used "mailto.[^"]*)" to match each "mailto: ..." string. The parans
then allowed me to get at the email address.
But now I realize I need more info from each match.
I need to extend the match to the first 'gif' (the characters 'gif' would be
the end of the string instead of ' " ' as in my first regex.) but I am
having some trouble doing so.
I have tried a number of different combinations but without the match I
need.
I know what I need. I need to do as I did in the example above except I
need to not include a group of characters instead of just one.
Thanks, Mike
similar patterns.
I used "mailto.[^"]*)" to match each "mailto: ..." string. The parans
then allowed me to get at the email address.
But now I realize I need more info from each match.
I need to extend the match to the first 'gif' (the characters 'gif' would be
the end of the string instead of ' " ' as in my first regex.) but I am
having some trouble doing so.
I have tried a number of different combinations but without the match I
need.
I know what I need. I need to do as I did in the example above except I
need to not include a group of characters instead of just one.
Thanks, Mike