Correctly Escaped the pipe seperator for regex usage