Code: Select all
InlinePattern="(\d{1,2})(.*)"
InlineSetting=Color | #Highlight#
I thought \W would do this easy but it isn't working.
Any help is appreciated.
EDIT: OK. It is working. Just had to do it like this "(\W)"
So, I jumped the gun and asked too soon.
But I also am trying to use \d to do the same for any number character. Like this "(\W)(\d)", or this "(\W\d)" but it isn't working.
Thanks for any help. It is likely simple but this sort of thing is confusing to google because most of the time people have really specific needs and I haven't been able to find something that works as expected in rainmeter.
I will continue to look around, there 'should' be a good example out there.

EDIT 2:
Oops! got it now.
This works perfectly "(\W)|([0,9])"
Actually, this works better "(\W)|(\d)"