REGEX-Escape for: </script>

Your Input:
Result, the escaped string:
\<\/script\>

What must the escaping look like for:
</script>

The excaped text for use in a regex is:
\<\/script\>