https://github.com/heimrichhannot/contao-replace-bundle
Helper contao bundle to perform a regular expression search and replace on front end page.
https://github.com/heimrichhannot/contao-replace-bundle
Last synced: 9 months ago
JSON representation
Helper contao bundle to perform a regular expression search and replace on front end page.
- Host: GitHub
- URL: https://github.com/heimrichhannot/contao-replace-bundle
- Owner: heimrichhannot
- Created: 2018-04-10T13:08:45.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T12:25:21.000Z (almost 2 years ago)
- Last Synced: 2025-05-14T06:57:40.620Z (10 months ago)
- Language: PHP
- Size: 59.6 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Contao Replace Bundle


[](https://travis-ci.org/heimrichhannot/contao-replace-bundle/)
[](https://coveralls.io/github/heimrichhannot/contao-replace-bundle)
Helper contao bundle to perform a regular expression search and replace on front end page.
## Configuration
Currently it is only possible to search and replace globally. Open your contao settings and configure custom search and replace patterns.

## Examples
### Wrap headline text in ``
Before: `
Test A
`
After: `Test A
`
- Pattern: `(]*>)(.*)(<\/h[^>]*>)`
- Replacement: `$1$2$3`
### Bootstrap 4 responsive tables
Before: `Value1