Created
May 3, 2016 13:11
-
-
Save josefglatz/978644de430fb981676bbbccf045bfe5 to your computer and use it in GitHub Desktop.
TYPO3 CMS stdWrap example "replacement :: Replace multiline html markup via regex"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| page { | |
| stdWrap.replacement { | |
| 10 { | |
| search = #<div class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">[\n\r\s]+<img src="/fileadmin/template/img/toggle.png" />[\n\r\s]+</div>#i | |
| useRegExp = 1 | |
| replace.stdWrap.cObject = COA | |
| replace.stdWrap.cObject { | |
| // ... replacement stuff | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment