Shrijith

3 years agoNew Contributor

# Working with regular expressions in python

Hai Everyone, I have been working on regular expressions with python using Testcomplete.

Need a solution on how exactly we can find a particular text using OCR.

TEXT : "Number = 10 Value = Some Number"

So, This is the text that's getting displayed in the desktop application window. We have texts of the same kind but with different numbers and values which keeps changes.

But, I need to find if there exists a correct value which is correct for a particular number. If we can use

Value = OCR.Recognize(Object)

After that we can use Value.FullText

But, how we can find value for a particular number only.

Please help

Need a solution on how exactly we can find a particular text using OCR.

TEXT : "Number = 10 Value = Some Number"

So, This is the text that's getting displayed in the desktop application window. We have texts of the same kind but with different numbers and values which keeps changes.

But, I need to find if there exists a correct value which is correct for a particular number. If we can use

Value = OCR.Recognize(Object)

After that we can use Value.FullText

But, how we can find value for a particular number only.

Please help