Code: Select all
CreateRegularExpression(0,"[0-9]*$")
Debug ReplaceRegularExpression(0,"test","") ; results in "testt" (incorrect)
Debug ReplaceRegularExpression(0,"test0","") ; results in "test" (correct)
Code: Select all
CreateRegularExpression(0,"[0-9]*$")
Debug ReplaceRegularExpression(0,"test","") ; results in "testt" (incorrect)
Debug ReplaceRegularExpression(0,"test0","") ; results in "test" (correct)