Double quotes in Regular expression

Viewed 28148

How can I get a string inside double quotes using regular expression?

I have the following string:

<img src="http://yahoo.com/img1.jpg" alt="">

I want to get the string http://yahoo.com/img1.jpg alt="" outside. How can I do this using regular expression?

3 Answers
Related