PHPVerbalExpressions

screenshot of PHPVerbalExpressions

PHP Regular expressions made easy

Overview:

VerbalExpressions is a PHP library designed to simplify the construction of complex regular expressions by using a human-readable format. It offers various methods to define patterns like startOfLine, endOfLine, then, find, maybe, anything, and more. The project supports Composer for easy setup and management.

Features:

  • Human-readable language: Expressions are defined in a business-readable format.
  • Multiple methods: Includes methods like add, startOfLine, endOfLine, then, find, maybe, and more.
  • Composer support: Easy installation via Composer.
  • Cross-language support: Available in multiple other languages like Javascript, Ruby, C#, Python, Java, and C++.

Summary:

VerbalExpressions is a versatile PHP library for creating complex regular expressions in a human-readable format. With support for Composer, it offers an easy installation process. The library provides a wide range of methods for defining expression patterns, making it suitable for various applications requiring regular expression handling.