How to strip text out of the results of an OCRExtract process with ExecuteScript_Sandbox

For example… I found this post but couldn’t for the life of me figure out how to adapt this to my macro. I’m not a programmer. I tend to fumble around until I figure something out. But this is truly beyond me.