REGEX-Escape for: (^https?://)?(www\.)?(.*?)((/|:|\?)(.)*|$)

Your Input:
Result, the escaped string:
\(\^https\?\:\/\/\)\?\(www\\\.\)\?\(\.\*\?\)\(\(\/\|\:\|\\\?\)\(\.\)\*\|\$\)


Ads

What must the escaping look like for:
(^https?://)?(www\.)?(.*?)((/|:|\?)(.)*|$)

The excaped text for use in a regex is:

\(\^https\?\:\/\/\)\?\(www\\\.\)\?\(\.\*\?\)\(\(\/\|\:\|\\\?\)\(\.\)\*\|\$\)


Ads