I have a string that looks similar to this:
The following reg-ex matches a bracket, at least one number, an 'x', at least one number and a closing bracket.
var str="tumblr_mgn6mfe9aD1rbaz5bo1_500.jpg (500x705)";
I forgot to say that the × is an ascii character and it's not the regular 'x' so your code doesn't work with the ASCII '×'
Just replace the x with . (i.e. a single dot)
This topic is now closed. New replies are no longer allowed.