I've following regex to match urls:
/(https?:\/\/[^"<\s]+[^.<\s"()][-A-Za-z0-9+&@#\/%=~_|])(?![^<>]*>|[^"]*?<\/a)/gi
Who match both urls:
http://example.fr/image.png
http://example.fr/image.pdf
This is a specific regex to our application, I want to keep it as it, but just add one functionality.
Question: I want to ignore urls ending with .png.
Is it possible?