Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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