REGEX-Escape for: [url=https://loansforbadcredit2019.com/]loans for bad credit[/url]

Your Input:
Result, the escaped string:
\[url\=https\:\/\/loansforbadcredit2019\.com\/\]loans for bad credit\[\/url\]

What must the escaping look like for:
[url=https://loansforbadcredit2019.com/]loans for bad credit[/url]

The excaped text for use in a regex is:
\[url\=https\:\/\/loansforbadcredit2019\.com\/\]loans for bad credit\[\/url\]