Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1710

Help: Rainmeter Skins • Re: Possible to "double extract" text?

$
0
0
Nope, it has nothing to do with ignoring (?siU), but yes, \0 is StringIndex=0 and is the entire string. Simple sample:

Code:

[Variables][Rainmeter]Update=1000AccurateText=1DynamicWindowSize=1BackgroundMode=2SolidColor=47,47,47,255---Measures---[Text]Measure=StringString=Get Yours Today blah blah let me know blahblah href="https://sixthsample.com/wp-content/uploads/2024/10/Cramit-1.3.0.zip"RegExpSubstitute=1Substitute='Get Yours Today.*let me know.*href="(.*Cramit-(.*)\.zip)"':"Capture 0 = \0#CRLF#Capture 1 = \1#CRLF#Capture 2 = \2"---Meters---[Result]Meter=StringFontColor=255,255,255,255FontFace=ConsolasFontSize=16Padding=5,5,5,5AntiAlias=1MeasureName=TextText=Result#CRLF#%1UpdateDivider=-1DynamicVariables=1
By the way, the dot before zip in your regex needs to be escaped like \. to mean an actual dot character, otherwise it means any character.

Statistics: Posted by Yincognito — Today, 4:02 pm



Viewing all articles
Browse latest Browse all 1710

Trending Articles