REGEX-Escape for: wordfence_lh=1&hid=63E8032F881F778A1E91A8FB88D0091C');</script>

Your Input:
Result, the escaped string:
wordfence_lh\=1&hid\=63E8032F881F778A1E91A8FB88D0091C'\);\<\/script\>

What must the escaping look like for:
wordfence_lh=1&hid=63E8032F881F778A1E91A8FB88D0091C');</script>

The excaped text for use in a regex is:
wordfence_lh\=1&hid\=63E8032F881F778A1E91A8FB88D0091C'\);\<\/script\>