horrellbt01
Board Regular
- Joined
- Mar 15, 2010
- Messages
- 68
I need to edit the following code that someone wrote years ago (no longer w/ the company) to work with a new source.
Set expr = New RegExp
'expr.Pattern = "src=""([^""]*ObjectiveImages[^""]*/([^""/]*\.jpg))"""
'ClientCommentImages
expr.Pattern = "src=""([^""]*Images[^""]*/([^""/]*\.jpg))"""
expr.Global = True
expr.IgnoreCase = True
The source format has changed to the following format: https://www.qtraxweb.com/p/90767-719431-us/TX/90458979_172130162.JPG
Everything after the /p/ would be a wildcard except the .JPG.
Set expr = New RegExp
'expr.Pattern = "src=""([^""]*ObjectiveImages[^""]*/([^""/]*\.jpg))"""
'ClientCommentImages
expr.Pattern = "src=""([^""]*Images[^""]*/([^""/]*\.jpg))"""
expr.Global = True
expr.IgnoreCase = True
The source format has changed to the following format: https://www.qtraxweb.com/p/90767-719431-us/TX/90458979_172130162.JPG
Everything after the /p/ would be a wildcard except the .JPG.