always get the last img src
-
The regular expression you are using are not exactly right.
You should change to:<\s*?img\s+[^>]*?\s*src=[‘”]([^'”]+)[^>]*?>
you can test here: https://regex101.com/
- The topic ‘always get the last img src’ is closed to new replies.