Regex to make getLineItem secure