PageSourceSearch

https://www.gearbooker.com/en/Scripts/jqueryval/bic.js

js gearbooker.com collected 2026-09-24 11:56:22 UTC 1,069 bytes, 18 lines download raw bytes

1/**
2 * BIC is the business identifier code (ISO 9362). This BIC check is not a guarantee for authenticity.
3 *
4 * BIC pattern: BBBBCCLLbbb (8 or 11 characters long; bbb is optional)
5 *
6 * Validation is case-insensitive. Please make sure to normalize input yourself.
7 *
8 * BIC definition in detail:
9 * - First 4 characters - bank code (only letters)
10 * - Next 2 characters - ISO 3166-1 alpha-2 country code (only letters)
11 * - Next 2 characters - location code (letters and digits)
12 *   a. shall not start with '0' or '1'
13 *   b. second character must be a letter ('O' is not allowed) or digit ('0' for test (therefore not allowed), '1' denoting passive participant, '2' typically reverse-billing)
14 * - Last 3 characters - branch code, optional (shall not start with 'X' except in case of 'XXX' for primary office) (letters and digits)
15 */
16$.validator.addMethod( "bic", function( value, element ) {
17    return this.optional( element ) || /^([A-Z]{6}[A-Z2-9][A-NP-Z1-9])(X{3}|[A-WY-Z0-9][A-Z0-9]{2})?$/.test( value.toUpperCase() );
18}, "Please specify a valid BIC code" );

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.