PHPackages                             thibaud-dauce/compliant-regexps - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. thibaud-dauce/compliant-regexps

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

thibaud-dauce/compliant-regexps
===============================

An easy way to correct user input based on a regular expression

1.6.0(9y ago)088MITPHPPHP ^7.0

Since Jun 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ThibaudDauce/compliant-regexps)[ Packagist](https://packagist.org/packages/thibaud-dauce/compliant-regexps)[ Docs](https://github.com/ThibaudDauce/compliant-regexps)[ RSS](/packages/thibaud-dauce-compliant-regexps/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (1)Versions (13)Used By (0)

Compliant Regexps
=================

[](#compliant-regexps)

[![Build Status](https://camo.githubusercontent.com/dd1133c824459bad9717c5df2860d388cd12bc4a8ee5f04344ff9785ff8a750c/68747470733a2f2f7472617669732d63692e6f72672f5468696261756444617563652f636f6d706c69616e742d726567657870732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ThibaudDauce/compliant-regexps)

The main goal of this library is to provide an easy way to correct user input based on regular expressions.

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

[](#installation)

```
composer require thibaud-dauce/compliant-regexps

```

Usage
-----

[](#usage)

The `tests` folder provides good usage examples.

### Basic usage

[](#basic-usage)

```
