I want to extract image path with jpg/png with regular expression : r ...

I want to extract image path with jpg/png with regular expression : r ...