jQuery question
- by Fuxi
hi all,
i'm having the following string
<img alt="over 40 world famous brandedWATCHES BRANDs to choose from
" src="http://www.fastblings.com/images/logo.jpg"></strong></a><br>
i want to define a regex pattern like <img alt="(.+?)" src="http://(.+?).(jpg|gif)">
but as u can see the target strings has a linebreak in the alt attribute - so how can i incorporate this? the rule should be like "anything in the alt-attribute including linebreaks"
thx