Video match text regex capture groups #897
Unanswered
rushsteve1
asked this question in
Q&A
Replies: 1 comment
-
Yes that is possible using a setup similar to this: You first assign the text which the video condition detected to a variable and then use the same regular expression again to extract the x-th capture group. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I am trying to use the
Video > Match Text
condition with a Regular Expression for the string, and I was wondering if there is a way to get the capture groups from that regular expression as variables that can be used in Actions?For example I want to a game's Round Number from the screen. So my regex would be
Round (\d+)
where I want to capture the number matched by\d+
.Beta Was this translation helpful? Give feedback.
All reactions