Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2024-01-10 (3 days ago) | | Not enough user ratings | | Total: 691 This week: 9 | | All time: 4,719 This week: 27 |
|
Description | | Author |
This class can be used to search and match text using regular expressions.
It provides several static functions that can be used to perform several types of operations with text strings and regular expressions.
Currently it can test if a regular expression is valid, find if a text matches one or more regular expressions, replace parts of a text string that match a regular expression, split a string using a regular expression to define the separator format, count words in a string separated by white spaces.
The class has several static variables with pre-defined regular expressions for matching text in common formats like: white space, line breaks, alphabetic strings, numeric strings, hexadecimal strings, US social security numbers, US zip codes, US states, US dollar amounts, date and time, file paths, Mac and IP addresses, URLs, email addresses, HTML tags, CSS identifiers, MIME types, mobile user agents, etc.. | |
|
|
Innovation award
Nominee: 3x |
|
Details
Regex
With RegEx, you can find ready-made full functioning regex solutions to many thing we usually struggle to "regex". It is a good replacement for php preg. It provides an interface to test a regex, perform match, replace, perform a deep replace, split a string, count words in a string, find ocuurences of a regex in anything(e.g. find a url in an email), perform a javascript-like regex.test() function.
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.