CodeCanyon MyRegExp PHP Regular Expression Builder 641770

CodeCanyon MyRegExp PHP Regular Expression Builder 641770

CodeCanyon MyRegExp PHP Regular Expression Builder 641770
PHP Script \ Miscellaneous
Regexp \ Regex \ Regular \ Replace \ Validation \ Validate \ Preg \ Easy


PHP Script - MyRegExp PHP Regular Expression Builder 641770 by Sourcegeek @ CodeCanyon

PHP Script \ Miscellaneous

Last Update: 10 October 11; Software Version: PHP 5.x; Files Included: HTML, CSS, PHP.

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!

Examples.

$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.
$instance->addStart()->match(ANYDIGIT)->times(ONE_MORE)->addEnd();
var_dump($instance->validate('124321')); // True

From basic validation….
// Find a or c in string
$instance->matchOne('a', 'c')
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
$instance->addStart()->match('-')->ifIs(FOLLOWED_BY)->matchOne('1', '2')->closeIf()
->match(ANYCHAR)->times(ZERO_MORE)
->ifIs(PRECEEDED_BY)->matchOne('1', '2')->closeIf()->match('-')->addEnd();
var_dump($instance->validate('-2 this is text 1-')); // True

What is included?

- Fully explained documentation

- One example for every function

- 9 general examples

- Class file (only 5kb)

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!

ParseRSS - Parse a RSS with PHP5 Class; AdvPlugin - Advanced Plugin System; MyJSON - Work with MySQL + JSON; HackerCatcher - Catch hackers w/ Admin Panel; MyXML - Work with MySQL+XML; MyRegExp - PHP Regular Expression Builder; PHP Advanced String Class.

Keywords: class, coincidence, easy, expression, helper, match, php5, preg, regex, regexp, regular, replace, validate, validation.



Tags: Expression, Regular, Regex, Regexp, Validate

Premium CodeCanyon MyRegExp PHP Regular Expression Builder 641770 WordPress Themes, Website Templates, Mobile Themes, Flash Templates & Scripts from creative professional designers. Full details of CodeCanyon MyRegExp PHP Regular Expression Builder 641770 for digital design and education. CodeCanyon MyRegExp PHP Regular Expression Builder 641770 desigen style information or anything related.

Comments:

Name:*
E-Mail:*
Add Comments:
Enter Code: *