Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

№п/п

Name

Regular text

Description

1

bdate_vdate

/^(19|20|21|22)\d\d-((0[1-9]|1[012])-(0[1-9]|[12]\\d)|(0[13-9]|1[012])-30|(0[13578]|1[02])-31)$/u

Date (year – month – day where)

Year should be from 1990 to 2200

Month from 01 to 12

Day from 01 to 31

2

lng

/(^[0-9]{1,10}$)/u

Number from 0 to 9999999999

3

justtext250

/(^[0-9A-Za-zйЙцЦуУкКеЕнНгГшШщЩзЗхХфФвВаАпПрРоОлЛдДжЖєЄяЯчЧсСмМиИтТьЬбБюЮэЭъЪёЁіїІЇєЄҐґЫы\s\\\"\–\—\-\.\;\:\,\`\№\(\)\&\+]{0,250}$)/u

Text is from 0 to 250 characters in length. The set of characters is listed in square brackets.

4

sex

Не регулярка

Set of values
array ('2', '1')

5

family

Не регулярка

Set of values

array('5','1','2','3','4')

6

ceduc

Не регулярка

Set of values

array('5','1','2','3','4','6','7')

7

spd

Не регулярка

Set of values

array('7','6','5','4','3','2','1')

8

validByInt

Не регулярка

The function, which checks that the meaning was as a number

9

adcitytype

Не регулярка

Set of values

array('1','2','3','4')

10

okpo

/(^\d{8}|\d{10}$)/

8-digit or 10-digit numbers with leading zeros

11

wname

/^[0-9a-zA-ZйЙцЦуУкКеЕнНгГшШщЩзЗхХфФвВаАпПрРоОлЛдДжЖєЄяЯчЧсСмМиИтТьЬбБюЮэЭъЪёЁіїІЇєЄҐґЫы\s\/\Q´\"'–—-´`.,&:;()+?№«»\E]{1,250}$/u

Text from 1 to 250 symbols in length. The set of characters is listed in square brackets.

12

num2

/(^\d{1,2}$)/u

Numbers from 0 till 99

13

d_15_2

/(^[0-9]{1,15}\.[0-9]{1,2}$)|(^[0-9]{1,15}$)|(^\-[0-9]{1,15}\.[0-9]{1,2}$)|(^\-[0-9]{1,15}$)/u

Numbers in the format of d15.2

14

AZ3

/(^[A-Z]{1}$)/u

One big Latin letter

15

text100

/(^[0-9A-Za-zйЙцЦуУкКеЕнНгГшШщЩзЗхХфФвВаАпПрРоОлЛдДжЖєЄяЯчЧсСмМиИтТьЬбБюЮэЭъЪёЁіїІЇєЄҐґЫы \,\.\@\#\\\"\'\:\;\–\—\-\&\!\´\№\`\(\)]{0,100}$)/u

Text from 0 to 100 symbols in length. The set of characters is listed in square brackets.

16

urfrms

Не регулярка

Set of values array('940','935','930','925','920','915','910','900','860','855','850','845','840','835','830','825','820','815','810','800','620','610','600','590','550','540','540','530','520','510','500','495','490','440','435','430','425','420','410','400','390','350','340','330','950','322','321','320','310','300','270','260','250','240','235','232','231','230','200','193','192','191','190','185','180','170','160','150','145','140','130','120','110','100')

17

okpo2

/(^\d{8}|\d{10}$)/u

8-digit or 10-digit numbers with leading zeros

18

dltype

Не регулярка

Set of values array('1','2','3')

19

text20

/^[0-9A-Za-zйЙцЦуУкКеЕнНгГшШщЩзЗхХфФвВаАпПрРоОлЛдДжЖєЄяЯчЧсСмМиИтТьЬбБюЮэЭъЪёЁіїІЇєЄҐґЫы ,\.@#\\\"':;\-_&!\-\(\)]{0,20}$/u

Text from 0 to 20 symbols in length. The set of characters is listed in square brackets.

20

pser

/(^[0-9A-Za-zйЙцЦуНКУкКеЕнНгГшШщЩзЗхХфФвВаАпПрРоОлЛдДжЖєЄяЯчЧсСмМиИтТьЬбБюЮэЭъЪёЁіїІЇєЄҐґЫы\–\—\-]{0,10}$)/u

Text from 0 to 10 symbols in length. The set of characters is listed in square brackets.

21

dwho

/(^[0-9A-Za-zйЙцЦуУкКеЕнНгГшШщЩзЗхХфФвВаАпПрРоОлЛдДжЖєЄяЯчЧсСмМиИтТьЬбБюЮэЭъЪёЁіїІЇєЄҐґЫы \,\.\@\#\\\"\'\:\;\–\—\-\&\!\´\№\`\(\)\/\?]{0,100}$)/u

Text from 0 to 100 symbols in length. The set of characters is listed in square brackets.

22

adcountry

Двобуквений код країни з довідника ISO-3166

Text from 0 to 40 symbols in length. The set of characters is listed in square brackets.

23

adcity

/(^[0-9A-Za-zйЙцЦуУкКеЕнНгГшШщЩзЗхХфФвВаАпПрРоОлЛдДжЖєЄяЯчЧсСмМиИтТьЬбБюЮэЭъЪёЁіїІЇєЄҐґЫы\s\–\—\-\.\;\:\,\№\`\´\’\(\)\?]{1,80}$)+/u

Text from 1 to 80 symbols in length. The set of characters is listed in square brackets.

24

adindex

Для України (UA) - (\\d{5}$)

Для інших - /(^[0-9\-\s]{1,20}$)/u

Text from 1 to 20 symbols in length. The set of characters is listed in square brackets.

25

addrdirt

/(^[0-9A-Za-zйЙцЦуУкКеЕнНгГшШщЩзЗхХфФвВаАпПрРоОлЛдДжЖєЄяЯчЧсСмМиИтТьЬбБюЮэЭъЪёЁіїІЇєЄҐґЫы\s\–\—\-\.\;\:\,\№\`\´\/\(\)\?]{0,1000}$)+/u

Text from 1 to 1000 symbols in length. The set of characters is listed in square brackets.

26

text40

/(^[0-9А-ЯйЙцЦуУкКеЕнНгГшШщЩзЗхХфФвВаАпПрРоОлЛдДжЖєЄяЯчЧсСмМиИтТьЬбБюЮэЭъЪёЁіїІЇєЄҐґЫыa-zA-Z\s\&,\.@#\\\"':;_\&!\-\/\(\)]{1,40}$)/

Text from 1 to 40 symbols in length. The set of characters is listed in square brackets.

27

street

/(^[0-9йЙцЦуУкКеЕнНгГшШщЩзЗхХфФвВаАпПрРоОлЛдДжЖєЄяЯчЧсСмМиИтТьЬбБюЮэЭъЪёЁіїІЇєЄҐґЫыa-zA-Z\s\´\&,\.\@\#\\\"\':;_\&!\–\—\-\`\/\(\)\?]{1,100}$)/u

Text from 1 to 100 symbols in length. The set of characters is listed in square brackets.

28

adstate

/^[A-Za-zйЙцЦуУкКеЕнНгГшШщЩзЗхХфФвВаАпПрРоОлЛдДжЖєЄяЯчЧсСмМиИтТьЬбБюЮэЭъЪёЁіїІЇєЄҐґЫы\s\–\—\-\.\;\:\,\`\(\)\?]{1,40}$/u

Text from 1 to 40 symbols in length. The set of characters is listed in square brackets.

29

adarea

/^[A-Za-zйЙцЦуУкКеЕнНгГшШщЩзЗхХфФвВаАпПрРоОлЛдДжЖєЄяЯчЧсСмМиИтТьЬбБюЮэЭъЪёЁіїІЇєЄҐґЫы\s\–\—\-\.\;\:\,\`\(\)\?]{0,40}$/u

Text from 1 to 40 symbols in length. The set of characters is listed in square brackets.

30

adtype

Не регулярка

Set of values array('5','1','2','3','4')

31

num10

/(^[0-9]{1,10}$)/u

Number from 0 to 9999999999

32

dealyear

/(^[\d]{4}$)/u

Four-digit number with the leading zeroes

33

dealdayexp

/(^[\d]{1,5}$)/u

Number from 0 to 99999

34

dealmonth

Не регулярка

Set of values array('5','1','2','3','4','6','7','8','9','10','11','12')

35

dlflpay

Не регулярка

Set of values array('3','1','0')

36

dlfluse

Не регулярка

Set of values array('0','1','3'))

37

inn

/^\d{10}$/u

Ten-digit number with the leading zeroes

38

justtext100

/(^[0-9A-Za-zйЙцЦуУкКеЕнНгГшШщЩзЗхХфФвВаАпПрРоОлЛдДжЖєЄяЯчЧсСмМиИтТьЬбБюЮэЭъЪёЁіїІЇєЄҐґЫы\s\\\"\–\—\-\.\;\:\,\`\№\(\)]{0,100}$)/u

Text from 0 to 100 symbols in length. The set of characters is listed in square brackets.

39

contact

/(^[0-9A-Za-zйЙцЦуУкКеЕнНгГшШщЩзЗхХфФвВаАпПрРоОлЛдДжЖєЄяЯчЧсСмМиИтТьЬбБюЮэЭъЪёЁіїІЇєЄҐґЫы\s\,\.\@\#\\\"\'\:\;\_\/\&\!\-\+]{1,40}$)/u

Text from 0 to 40 symbols in length. The set of characters is listed in square brackets.

40

validateINN

Функція

Verification of incorrectness by the file incorrectInnLib.txt, All INN or OKPO has to coincide everywhere.

41

validateLNG

Функція

The language has to coincide everywhere. Deactivated

42

dnom

/^[0-9A-Za-zйЙцЦуУкКеЕнНгГшШщЩзЗхХфФвВаАпПрРоОлЛдДжЖєЄяЯчЧсСмМиИтТьЬбБюЮэЭъЪёЁіїІЇєЄҐґЫы ,\.@#\\\"':;\-_&!\-\(\)\/]{0,20}$/u

Text from 0 to 40 symbols in length. The set of characters is listed in square brackets.

43

name

/^[0-9a-zA-ZйЙцЦуУкКеЕнНгГшШщЩзЗхХфФвВаАпПрРоОлЛдДжЖєЄяЯчЧсСмМиИтТьЬбБюЮэЭъЪёЁіїІЇєЄҐґЫы\´\s\\\"\'\–\—\-\´\`\.\,\&\;\(\)]{1,80}$/u

Text from 0 to 40 symbols in length. The set of characters is listed in square brackets.

44

dtype

Не регулярка

Set of values array('5','1','2','3','4','6','7','8','9','10','11','12','13','14','15', '16')

...