For example
var string = 'width="300" height="650"'
i would like to update height in that string and get something like
string = string.replace(/height="..."/g, 'height="150"');
//... as any symbol
how to make reg expression who does not care value of height, to replace it with new one?
You can play with it here, in example:
JsFiddle
DEMO