PHPackages                             wildphp/module-regexreplace - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wildphp/module-regexreplace

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

wildphp/module-regexreplace
===========================

Use sed-style (s/find/replace/) regular expressions to correct previous messages.

09PHP

Since Apr 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/WildPHP/module-regexreplace)[ Packagist](https://packagist.org/packages/wildphp/module-regexreplace)[ RSS](/packages/wildphp-module-regexreplace/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (2)Used By (0)

RegexReplace Module
===================

[](#regexreplace-module)

[![Build Status](https://camo.githubusercontent.com/40e27b29b76876fbb5a4148fdbfe58c660b9c94cb03b2036b3c74f28f943cbc9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f57696c645048502f6d6f64756c652d72656765787265706c6163652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/WildPHP/module-regexreplace/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/50e2a85d2e80886a0cfb3d584438746aa437ec6f682e13a30f55fcccd2ef4e8f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f57696c645048502f6d6f64756c652d72656765787265706c6163652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/WildPHP/module-regexreplace/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/023fb080118d0d0c203aed40fc4e303e804444b8d4457213b09b3091f81000cf/68747470733a2f2f706f7365722e707567782e6f72672f77696c647068702f6d6f64756c652d72656765787265706c6163652f762f737461626c65)](https://packagist.org/packages/wildphp/module-regexreplace)[![Latest Unstable Version](https://camo.githubusercontent.com/4bb062b6d91e94d935412f313b4bdbbcd0db03eddd870d383216848037946a16/68747470733a2f2f706f7365722e707567782e6f72672f77696c647068702f6d6f64756c652d72656765787265706c6163652f762f756e737461626c65)](https://packagist.org/packages/wildphp/module-regexreplace)[![Total Downloads](https://camo.githubusercontent.com/eb51e0138246aeef8dae1d0866651f030c229a29f45fd400fcaee78a6c812e99/68747470733a2f2f706f7365722e707567782e6f72672f77696c647068702f6d6f64756c652d72656765787265706c6163652f646f776e6c6f616473)](https://packagist.org/packages/wildphp/module-regexreplace)

Use sed-style (`s/find/replace/`) regular expressions to correct previous messages.

System Requirements
-------------------

[](#system-requirements)

If your setup can run the main bot, it can run this module as well.

Installation
------------

[](#installation)

To install this module, we will use `composer`:

`composer require wildphp/module-regexreplace`

That will install all required files for the module. In order to activate the module, add the following line to your modules array in `config.neon`:

```
- WildPHP\Modules\RegexReplace\RegexReplace

```

The bot will run the module the next time it is started.

Usage
-----

[](#usage)

The RegexReplace module automatically catches instances of the sed replace pattern (`s/find/replace/`) with optional `g` (global, all occurrences) or `i` (case insensitive) flags

License
-------

[](#license)

This module is licensed under the MIT license. Please see `LICENSE` to read it.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/64cbefa2b33116fa8d909bbeb6add16b949cd91864b693cd9c4797430ee7eb6d?d=identicon)[Yoshi2889](/maintainers/Yoshi2889)

---

Top Contributors

[![NanoSector](https://avatars.githubusercontent.com/u/1280380?v=4)](https://github.com/NanoSector "NanoSector (2 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/wildphp-module-regexreplace/health.svg)

```
[![Health](https://phpackages.com/badges/wildphp-module-regexreplace/health.svg)](https://phpackages.com/packages/wildphp-module-regexreplace)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
