Actually, after testing, it appears that even though the above works perfectly on regexr.com and regex101.com, it won't work in Rainmeter cause "Not enough substrings" (setting LogSubstringErrors=0 will avoid that warning in the log, but will not produce a result). So, instead of the (?(?!...)...) "lookahead assertion" I suggested earlier (which is in fact a lookahead conditional), try a real lookahead assertion like (?!...) but applied only on the src content...Thank you very much [Yincognito]![]()
![]()
I will try to implement what you have written and recommended. It will be mentally sporty
[SkinFolder]\@Resources\file.txt:
Code:
<td class="chartlist-image"> <img src="https://lastfm.freetls.fastly.net/i/u/64s/4128a6eb29f94943c9d206c08e625904.jpg"/><td class="chartlist-image"> <img src="https://lastfm.freetls.fastly.net/i/u/64s/4128a6eb29f94943c9d206c08e625904.jpg"/><td class="chartlist-image"> <img src="https://lastfm.freetls.fastly.net/i/u/64s/4128a6eb29f94943c9d206c08e625904.jpg"/><td class="chartlist-image"> <img src="https://lastfm.freetls.fastly.net/i/u/64s/4128a6eb29f94943c9d206c08e625904.jpg"/><td class="chartlist-image"> <img src="https://lastfm.freetls.fastly.net/i/u/64s/4128a6eb29f94943c9d206c08e625904.jpg"/><td class="chartlist-image"> <img src="https://lastfm.freetls.fastly.net/i/u/64s/9c7700c50c3e6c0daa1224d9e06a9cc4.jpg"/>
Code:
[Rainmeter]Update=1000AccurateText=1DynamicWindowSize=1---Measures---[WebParser]Measure=WebParserURL=file://#@#file.txtRegExp=(?siU)<td class="chartlist-image">.*<img.*src="(?!https:\/\/lastfm\.freetls\.fastly\.net\/i\/u\/64s\/4128a6eb29f94943c9d206c08e625904\.jpg)(.*)"StringIndex=1UpdateRate=-1---Meters---[WebParserValue]Meter=StringFontFace=ConsolasFontColor=255,255,255,255SolidColor=47,47,47,255Padding=5,5,5,5FontSize=16AntiAlias=1MeasureName=WebParserText="WebParser Value:#CRLF##CRLF#%1"DynamicVariables=1
Statistics: Posted by Yincognito — Yesterday, 11:14 pm