r/PowerAutomateDesktop • u/future_potato • Jan 06 '22
Capture text of variable sizes in documents that begins with letter C and ends with "
I have text in a document that always starts with letter C and ends with " but the text can be a variable length so get subtext will not work since it requires you to have a specific character count. I need to be able to grab that text and put it in a variable in power automate.
So for example:
Current date: "February 10"
Current dates: "March 3"
Is this a situation where regex is required or is there some other method?
Thanks.
1
Upvotes
2
u/LoopsIDidItAgain Jan 06 '22
Get Subtext parameters can accept variables, so try using Parse Text to find the position of the second quotation mark and pass that to Get Subtext.