REGEX-Escape for: <?p begin="(\d+:\d+:\d+\.?\d*)" end="(\d+:\d+:\d+\.?\d*)" style="[^"]*">((?:.|\n)*)</p>?

Your Input:
Result, the escaped string:
\<\?p begin\="\(\\d\+\:\\d\+\:\\d\+\\\.\?\\d\*\)" end\="\(\\d\+\:\\d\+\:\\d\+\\\.\?\\d\*\)" style\="\[\^"\]\*"\>\(\(\?\:\.\|\\n\)\*\)\<\/p\>\?

What must the escaping look like for:
<?p begin="(\d+:\d+:\d+\.?\d*)" end="(\d+:\d+:\d+\.?\d*)" style="[^"]*">((?:.|\n)*)</p>?

The excaped text for use in a regex is:
\<\?p begin\="\(\\d\+\:\\d\+\:\\d\+\\\.\?\\d\*\)" end\="\(\\d\+\:\\d\+\:\\d\+\\\.\?\\d\*\)" style\="\[\^"\]\*"\>\(\(\?\:\.\|\\n\)\*\)\<\/p\>\?


Ads