Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T12:25:21.000Z (9 months ago)
- Last Synced: 2024-10-07T15:48:33.292Z (3 months ago)
- Language: PHP
- Size: 59.6 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Contao Replace Bundle
![](https://img.shields.io/packagist/v/heimrichhannot/contao-replace-bundle.svg)
![](https://img.shields.io/packagist/dt/heimrichhannot/contao-replace-bundle.svg)
[![](https://img.shields.io/travis/heimrichhannot/contao-replace-bundle/master.svg)](https://travis-ci.org/heimrichhannot/contao-replace-bundle/)
[![](https://img.shields.io/coveralls/heimrichhannot/contao-replace-bundle/master.svg)](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.
![Contao settings](src/Resources/doc/replace-settings.png)
## Examples
### Wrap headline text in ``
Before: `
Test A
`
After: `Test A
`- Pattern: `(]*>)(.*)(<\/h[^>]*>)`
- Replacement: `$1$2$3`### Bootstrap 4 responsive tables
Before: `Value1