Ok, thanks for the reply, still not working. And, we are using this custom expression on another form without issue. Not sure why I can copy and paste the same info into the new form.
It's being used in a calculation field. I am unable to save and close the custom form and keep getting the error message - This is an invalid custom expression, please try again.