VBA Word regular expression pattern match
Hello, I am trying to find the correct Regular Expression pattern to match html strings that contain image names. The image names always start with <img and end with a close angle bracket. The image names always end with .gif or .jpg I only need to extract the actual image name. Some image name examples are:
<img width="100%" src="orange.jpg">
<img src="orange.jpg">
text here</font></p> <IMG SCR="example_logo.gif">
text <img src="example_logo.gif">text here</font></p>
If I use .Pattern = "<img\s*src=""([^""]*)"""
it will match: <img scr
but not: <img width