I have written
QRegExp rx("<img src=\"\\S+\"\\s+width=\"(\\d+)\"\\s+height\"(\\d+)\"\\s+/>");
RegExp in order to match
<img src="file://c/Users/Narek/Desktop/WClub.jpg" width="95" height="113.04" />
kind of substring in a string, in order to extract the width and height. But this does not match. Please tel me what I have done wrong.
The last \d
doesn't take account of the dot inside the number, and you are missing '=' after 'height'.