Regular Expressions 101

Library entries

Git merge replacements

Vote

1

Regular Expression
pcre

/
<{7}[ ]HEAD[\r\n]{1,2}([\S\s]*?)(?:={7}[\r\n]{1,2}((?:[\S\s]?(?!(>{7}[ ][a-z0-9]{40})))*[\r\n]?)(?:>{7}[ ][a-z0-9]{40}[\r\n]{0,2})?)
/
x

Description

Loading markdown...
Submitted by Erik - 6 years ago