Let's say I have a string containing a filename that includes width and height.. eg.
"en/text/org-affiliate-250x450.en.gif"
how can I get only the "250" contained by '-' and 'x' and then the "450" containd by 'x' and '.' using regex?
I tried following this answer but with no luck. Regular Expression to find a string included between two characters while EXCLUDING the delimiters