This item is a PHP RegEx builder, with what you can do is to build Regular Expressions in an entendible-php syntax. You can:
- Build Regular Expressions with an easy PHP -Syntax
- Validate strings with the RegEx built
- Build RegEx’s and get them
- Apply preg_match to a RegEx
- Replace string with the RegEx built
All that in a php syntax. No more broken heads trying to make basic or complex RegEx!
$instance->$string = 'Need to change this';
$instance->extract()->match(' change ')->extract();
echo $instance->replace($string, '$1 leave $2'); // Need to leave this
Validate only numbers:
var_dump($instance->validate('124321')); // True
From basic validation….
// Find a or c in string
var_dump($instance->validate('hello codecanyon')); // True
To complex ones!
// Start by - followed by 1 or 2
// Match any char 0+ times
// End with - preceeded by 1 or 2
var_dump($instance->validate('-2 this is text 1-')); // True
What is included?
When you buy it, I recommend you to first read the examples included in the documentation and then the rest of it, is more easy to understand all
Rating will be really appreciated. Questions? Suggestions? Please, don’t doubt to leave a comment!
- Fully explained documentation
- One example for every function
- 9 general examples
- Class file (only 5kb)