I have a regex equation.The equation works fine if there is a match but sometimes the reference word is also not present in the text file. So i have given a if condition as string.isNullorEmpty(Regexresult(0).tostring).But this equation is throwing me an error if the reference word is not present .what is the solution for this?
Hello @amruta_George .
Are you using Regex Matches? If yes, try with the regex Match expression.
For more understanding, kindly share the screenshots and regex expression you are using.