0
How could I improve this regular expression to remove images that range from 29 to 45: [0-9]{29, 45}
?
my expression:
<img.+?(style=\".+?height:(29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45)%;.+?\")[^>]*>
When I tried to do so he removed the image style and not the image itself:
<img.+?(style=\".+?height:([0-9]{29, 45})%;.+?\")[^>]*>
Look at my example:
Put a raw inline, to see.....
– MagicHat