Hello,
New to power apps (mainly a VBA hobbyist) - so apologies for posting what I'm sure is bound to be a very basic question.
I'm using Text Recognizer and need to lift a specific code from all the text in the picture that matches a mask of:
"[A-z]/d/d/d/d[A-z][A-z]"
I want to both display that number in a label and then do further comparisons with it later in the app (so being able to both display and set as a variable for further use).
I've set the "on change" property of the TextRecognizer to put the result in a Variable. I then have another (temporary) label that concatenates all the OCR data into a Text a single string.
In a second label I'm experimenting with the Match function to try and lift the matching code from the text in Label1.
Match(Label1.Text,"[A-z]/d/d/d/d[A-z][A-z]")
I get an error. It think it's because Label2 wants a text value, and Match is returning a Record value.
I think the value I want is in the "FullMatch" column of that Record.
But I have no idea how to access it.