in reply to Re: very quick link regex
in thread very quick link regex

You were very close to result already.
/(.+)+\.jpg
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.

The solution is to make the dot-plus part of the regexp less greedy, change the part above to:

/(.+?)\.jpg