I am on a health kick and weight loss program. Every day I am sending my daily log to a coach to help motivate and advise. I figured this would be good to try and automate as some things will be already present from teh previous day and others I enter in.
I am trying to scrape the previous day’s log to get things like yesterdays weight, todays day number etc but seem to be having some trouble getting it out. I thought that the shortcut “Match Text” would do a RegExp, and as such I thought I could get data out of it. For example from this text:
DAILY STATS *Cycle: 1 *Day: 8 *Weight: 94.3 *Daily change(+/-): 0.1 *Carb count: *Step count: 16,222
I thought I could get the day number to increment. But when I use the “Match Text” operation it will return the entire match including what I put in. For example I am putting in
And I would like to just get the number 1 as I thought the parentheses would tell it to return that portion, but it returns “*Cycle: 1”.
How can I search text but return just what I want? Do I need to search again in the results? Or can I do it in one step?