Displaying page
of
pages;
Items to
Title |
Test
Details
Bank Routing Transit Number (RTN)
|
Expression |
^((0[0-9])|(1[0-2])|(2[1-9])|(3[0-2])|(6[1-9])|(7[0-2])|80)([0-9]{7})$
|
Description |
Ensures a given string matches the basic pattern of a bank routing transit number (RTN), used to identify financial institutions on instruments such as checks. Ensures number is nine digits long and has first two digits that comply with American Bankers Association rules.
|
Matches |
614321634, 114000900, 703452098
|
Non-Matches |
1145329, 491212012, banana
|
Author |
Rating:
Doug Vanderweide
|
Title |
Test
Details
BBCode Hyperlink Locator
|
Expression |
(\[url=?"?)([^\]"]*)("?\])([^\[]*)(\[/url\])
|
Description |
This expression locates all BBCode style hyperlinks and breaks out the URL and linked text components. The URL attribute can be double-quoted or not, or not present at all. URL attributes (if present) are at $2, linked text is at $4.
|
Matches |
[url=http://www.web.com]link text[/url], [url="http://www.web.com"]link text[/url], [url=banana]link text[/url]
|
Non-Matches |
[url=http://www.web.com]link text, [url=http://www.web.com"][/url], [url][/url], [url="http:www.web.com"]some text[url]
|
Author |
Rating:
Not yet rated.
Doug Vanderweide
|
Title |
Test
Details
Canadian Postal Code
|
Expression |
^[ABCEGHJKLMNPRSTVXY][0-9][A-Z]\s?[0-9][A-Z][0-9]$
|
Description |
Complies with the Canadian Postal Code requirements as described at http://www.infinitegravity.ca/postalcodeformat.htm
Allows for optional center space.
|
Matches |
J0E 1S0, X0E 1W0, N0G1L0
|
Non-Matches |
I0W 2X9, 123456
|
Author |
Rating:
Not yet rated.
Doug Vanderweide
|
Displaying page
of
pages;
Items to