in reply to Re: very quick link regex
in thread very quick link regex
In this last part of your regexp the dot-plus will match all up to the end of line. The remaining '.jpg' part will not be found and therefore the regexp never matches./(.+)+\.jpg
The solution is to make the dot-plus part of the regexp less greedy, change the part above to:
/(.+?)\.jpg
|
---|