{"id":581,"date":"2023-02-23T16:02:40","date_gmt":"2023-02-23T16:02:40","guid":{"rendered":"https:\/\/dijix.com.ua\/blog\/?p=581"},"modified":"2023-02-23T16:02:40","modified_gmt":"2023-02-23T16:02:40","slug":"rasprostranennye-primery-regulyarnyh-vyrazhenij-c","status":"publish","type":"post","link":"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/","title":{"rendered":"\u041f\u043e\u0448\u0438\u0440\u0435\u043d\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432 [C#]."},"content":{"rendered":"<p>\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u043c\u0438 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e \u043d\u0430\u0439\u043f\u043e\u0448\u0438\u0440\u0435\u043d\u0456\u0448\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432, \u044f\u043a\u0456 \u043c\u043e\u0436\u0443\u0442\u044c \u0431\u0443\u0442\u0438 \u043a\u043e\u0440\u0438\u0441\u043d\u0438\u043c\u0438 \u0432\u0430\u043c \u0434\u043b\u044f \u0432\u0438\u0440\u0456\u0448\u0435\u043d\u043d\u044f \u0437\u0430\u0432\u0434\u0430\u043d\u044c.<\/p>\n<p>\u041c\u0430\u0442\u0435\u0440\u0456\u0430\u043b \u0446\u0456\u0454\u0457 \u0441\u0442\u0430\u0442\u0442\u0456 \u0431\u0443\u0434\u0435 \u0434\u043e\u043f\u043e\u0432\u043d\u044e\u0432\u0430\u0442\u0438\u0441\u044f \u043d\u0430 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0456\u0439 \u043e\u0441\u043d\u043e\u0432\u0456.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-577 alignleft\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/02\/1-150x150.png\" alt=\"https:\/\/dijix.com.ua\/blog \u043f\u043e\u043c\u043e\u0449\u044c\" width=\"161\" height=\"161\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/02\/1-150x150.png 150w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/02\/1-300x300.png 300w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/02\/1.png 563w\" sizes=\"auto, (max-width: 161px) 100vw, 161px\" \/><\/p>\n<p>\u042f\u043a\u0449\u043e \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0438\u0439 \u043f\u0440\u0438\u043a\u043b\u0430\u0434 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0433\u043e \u0432\u0438\u0440\u0430\u0437\u0443, \u0437\u0430\u043b\u0438\u0448\u0430\u0439\u0442\u0435 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440 \u0434\u043e \u0446\u0456\u0454\u0457 \u0441\u0442\u0430\u0442\u0442\u0456, \u0432 \u044f\u043a\u043e\u043c\u0443 \u043e\u043f\u0438\u0448\u0456\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443.<\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043a\u0456\u043d\u0446\u0456 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u044f \u0437\u0430\u043b\u0438\u0448\u0442\u0435 \u0432\u0430\u0448\u0443 \u0435\u043c\u0435\u0439\u043b \u0430\u0434\u0440\u0435\u0441\u0443. \u0429\u043e\u0439\u043d\u043e \u0441\u0442\u0430\u0442\u0442\u044e \u0431\u0443\u0434\u0435 \u0434\u043e\u043f\u043e\u0432\u043d\u0435\u043d\u043e \u0432\u0438\u0440\u0456\u0448\u0435\u043d\u043d\u044f\u043c \u0432\u0430\u0448\u043e\u0457 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0438, \u043c\u0438 \u0441\u043f\u043e\u0432\u0456\u0441\u0442\u0438\u043c\u043e \u0432\u0430\u0441 \u043d\u0430 \u0435\u043c\u0435\u0439\u043b \u0430\u0434\u0440\u0435\u0441\u0443.<\/p>\n<p>&nbsp;<\/p>\n<p>\u041f\u043e\u0442\u043e\u0447\u043d\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432 \u0442\u0430\u043a\u0438\u0439:<\/p>\n<p><a href=\"#checkemail\">\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430 email \u0430\u0434\u0440\u0435\u0441\u0438<\/a><\/p>\n<p><a href=\"#chckpassword\">\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430 \u043f\u0430\u0440\u043e\u043b\u044f<\/a><\/p>\n<p><a href=\"#checkphone\">\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430 \u043d\u043e\u043c\u0435\u0440\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0443<\/a><\/p>\n<p><a href=\"#checkcard\">\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430 \u043a\u0440\u0435\u0434\u0438\u0442\u043d\u043e\u0457 \u043a\u0430\u0440\u0442\u043a\u0438<\/a><\/p>\n<p><a href=\"#getdate\">\u0414\u0456\u0441\u0442\u0430\u0442\u0438 \u0434\u0430\u0442\u0443 \u043d\u0430\u0440\u043e\u0434\u0436\u0435\u043d\u043d\u044f<\/a><\/p>\n<p>&nbsp;<\/p>\n<h3 id=\"checkemail\">\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430 email \u0430\u0434\u0440\u0435\u0441\u0438<\/h3>\n<pre class=\"lang:default decode:true \">static void Main()\r\n    {\r\n        string pattern = \"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$\";\r\n        \/*\r\n         \u0418\u043b\u0438 \u0442\u0430\u043a:\r\n         string pattern = @\"^(?(\"\")(\"\"[^\"\"]+?\"\"@)|(([0-9a-z]((.(?!.))|[-!#$%&amp;'*+\/=?^`{}|~w])*)(?&lt;=[0-9a-z])@))\" +\r\n                @\"(?([)([(d{1,3}.){3}d{1,3}])|(([0-9a-z][-w]*[0-9a-z]*.)+[a-z0-9]{2,17}))$\";\r\n         *\/\r\n        string email = \"alex@gmail.com\";\r\n        if (Regex.IsMatch(email, pattern, RegexOptions.IgnoreCase))\r\n        {\r\n            Console.WriteLine(\"\u041a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 email \u0430\u0434\u0440\u0435\u0441\");\r\n        }\r\n        else\r\n        {\r\n            Console.WriteLine(\"\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 email \u0430\u0434\u0440\u0435\u0441\");\r\n        }\r\n    }<\/pre>\n<p>\u041f\u043e\u044f\u0441\u043d\u0435\u043d\u043d\u044f:<\/p>\n<ul>\n<li>^ &#8211; \u0437\u0431\u0456\u0433\u0430\u0454\u0442\u044c\u0441\u044f \u0437 \u043f\u043e\u0447\u0430\u0442\u043a\u043e\u043c \u0440\u044f\u0434\u043a\u0430<\/li>\n<li>[a-zA-Z0-9._%+-]+ &#8211; \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0454 \u043e\u0434\u043d\u043e\u043c\u0443 \u0430\u0431\u043e \u0434\u0435\u043a\u0456\u043b\u044c\u043a\u043e\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u043c \u0456\u0437 \u043d\u0430\u0431\u043e\u0440\u0443 \u043b\u0456\u0442\u0435\u0440 (\u044f\u043a \u0432\u0435\u043b\u0438\u043a\u0438\u0445, \u0442\u0430\u043a \u0456 \u043c\u0430\u043b\u0438\u0445), \u0446\u0438\u0444\u0440 \u0456 \u0441\u043f\u0435\u0446\u0456\u0430\u043b\u044c\u043d\u0438\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u0456\u0432 ., _, %, + \u0438 &#8211;<\/li>\n<li>@ &#8211; \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0454 \u0441\u0438\u043c\u0432\u043e\u043b\u0443 @<\/li>\n<li>[a-zA-Z0-9.-]+ &#8211; \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0454 \u043e\u0434\u043d\u043e\u043c\u0443 \u0430\u0431\u043e \u0434\u0435\u043a\u0456\u043b\u044c\u043a\u043e\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u043c \u0456\u0437 \u043d\u0430\u0431\u043e\u0440\u0443 \u043b\u0456\u0442\u0435\u0440 (\u0432\u0435\u043b\u0438\u043a\u0438\u0445 \u0456 \u043c\u0430\u043b\u0438\u0445), \u0446\u0438\u0444\u0440 \u0456 \u0441\u043f\u0435\u0446\u0456\u0430\u043b\u044c\u043d\u0438\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u0456\u0432 ., _, %, + \u0438 -.<\/li>\n<li>. &#8211; \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0454 \u0441\u0438\u043c\u0432\u043e\u043b\u0443 . (\u0435\u043a\u0440\u0430\u043d\u043e\u0432\u0430\u043d\u043e\u043c\u0443 \u0437\u0432\u043e\u0440\u043e\u0442\u043d\u043e\u044e \u043a\u043e\u0441\u043e\u044e \u0440\u0438\u0441\u043a\u043e\u044e)<\/li>\n<li>[a-zA-Z]{2,} &#8211; \u0437\u0431\u0456\u0433\u0430\u0454\u0442\u044c\u0441\u044f \u0437 \u0434\u0432\u043e\u043c\u0430 \u0430\u0431\u043e \u0431\u0456\u043b\u044c\u0448\u0435 \u0431\u0443\u043a\u0432\u0430\u043c\u0438 (\u044f\u043a \u0432\u0435\u043b\u0438\u043a\u0438\u043c\u0438, \u0442\u0430\u043a \u0456 \u043c\u0430\u043b\u0438\u043c\u0438)<\/li>\n<li>$ &#8211; \u0437\u0431\u0456\u0433\u0430\u0454\u0442\u044c\u0441\u044f \u0437 \u043a\u0456\u043d\u0446\u0435\u043c \u0440\u044f\u0434\u043a\u0430<\/li>\n<\/ul>\n<h3><\/h3>\n<h3 id=\"chckpassword\">\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430 \u043f\u0430\u0440\u043e\u043b\u044f<\/h3>\n<pre class=\"lang:default decode:true \">static void Main()\r\n    {\r\n        string pattern = @\"^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[^a-zA-Z0-9])S{1,16}$\";\r\n        while (true)\r\n        {\r\n            Console.WriteLine(\"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u044c\");\r\n            string password = Console.ReadLine();\r\n\r\n            if (Regex.IsMatch(password, pattern, RegexOptions.IgnoreCase))\r\n            {\r\n                Console.WriteLine(\"\u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\");\r\n                break;\r\n            }\r\n            else\r\n            {\r\n                Console.WriteLine(\"\u0412 \u043f\u0430\u0440\u043e\u043b\u0435 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u043e\u0434\u043d\u0430 \u0446\u0438\u0444\u0440\u0430, \u043e\u0434\u043d\u0430 \u0431\u0443\u043a\u0432\u0430(\u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0430\u044f), \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0431\u0443\u043a\u0432\u0430 \u0438 \u043b\u044e\u0431\u043e\u0439 \u0437\u043d\u0430\u043a, \" +\r\n                    \"\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u0446\u0438\u0444\u0440\u0430 \u0438 \u043d\u0435 \u0431\u0443\u043a\u0432\u0430, \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043b\u0438\u043d\u0430 \u043f\u0430\u0440\u043e\u043b\u044f 16 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432.\");\r\n            }\r\n        }\r\n    }<\/pre>\n<p>\u0420\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e \u0434\u0440\u0443\u0433\u0438\u0439 \u0432\u0430\u0440\u0456\u0430\u043d\u0442:<\/p>\n<pre class=\"lang:default decode:true \">static void Main()\r\n    {\r\n        string pattern = @\"^(?=.*[A-Z])(?=.*[a-z])(?=.*d)(?=.*[^da-zA-Z]).{8,}$\";\r\n        string password = \"qwerty\";\r\n\r\n        if (Regex.IsMatch(password, pattern, RegexOptions.IgnoreCase))\r\n        {\r\n            Console.WriteLine(\"\u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\");\r\n        }\r\n        else\r\n        {\r\n            Console.WriteLine(\"\"\"\r\n                \u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u044c, \u0441\u043b\u0435\u0434\u0443\u044f \u0438\u043d\u0441\u0442\u0443\u0440\u043a\u0446\u0438\u044f\u043c:\r\n\r\n                \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043b\u0438\u043d\u0430 8 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432\r\n                \u0425\u043e\u0442\u044f \u0431\u044b \u043e\u0434\u043d\u0430 \u0437\u0430\u0433\u043b\u0430\u0432\u043d\u0430\u044f \u0431\u0443\u043a\u0432\u0430\r\n                \u0425\u043e\u0442\u044f \u0431\u044b \u043e\u0434\u043d\u0430 \u0441\u0442\u0440\u043e\u0447\u043d\u0430\u044f \u0431\u0443\u043a\u0432\u0430\r\n                \u0425\u043e\u0442\u044f \u0431\u044b \u043e\u0434\u043d\u0430 \u0446\u0438\u0444\u0440\u0430\r\n                \u0425\u043e\u0442\u044f \u0431\u044b \u043e\u0434\u0438\u043d \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b\r\n                \"\"\");\r\n        }\r\n    }<\/pre>\n<p>\u041f\u043e\u044f\u0441\u043d\u0435\u043d\u043d\u044f:<\/p>\n<ul>\n<li>^ : \u043f\u043e\u0447\u0430\u0442\u043e\u043a \u0440\u044f\u0434\u043a\u0430<\/li>\n<li>(?=.*[A-Z]) : \u043f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u0435 \u0432\u0438\u043f\u0435\u0440\u0435\u0434\u0436\u0435\u043d\u043d\u044f \u0434\u043b\u044f \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0435\u043d\u043d\u044f \u043d\u0430\u044f\u0432\u043d\u043e\u0441\u0442\u0456 \u0432 \u0440\u044f\u0434\u043a\u0443 \u0445\u043e\u0447\u0430 \u0431 \u043e\u0434\u043d\u0456\u0454\u0457 \u0432\u0435\u043b\u0438\u043a\u043e\u0457 \u043b\u0456\u0442\u0435\u0440\u0438<\/li>\n<li>(?=.*[a-z]) : \u043f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u0435 \u0432\u0438\u043f\u0435\u0440\u0435\u0434\u0436\u0435\u043d\u043d\u044f, \u0449\u043e\u0431 \u043f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0442\u0438\u0441\u044f, \u0449\u043e \u0432 \u0440\u044f\u0434\u043a\u0443 \u0454 \u0445\u043e\u0447\u0430 \u0431 \u043e\u0434\u043d\u0430 \u043c\u0430\u043b\u0430 \u043b\u0456\u0442\u0435\u0440\u0430<\/li>\n<li>(?=.*d) : \u043f\u043f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u0435 \u0432\u0438\u043f\u0435\u0440\u0435\u0434\u0436\u0435\u043d\u043d\u044f, \u0449\u043e\u0431 \u043f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0442\u0438\u0441\u044f, \u0449\u043e \u0432 \u0440\u044f\u0434\u043a\u0443 \u0454 \u0445\u043e\u0447\u0430 \u0431 \u043e\u0434\u043d\u0430 \u0446\u0438\u0444\u0440\u0430<\/li>\n<li>(?=.*[^da-zA-Z]) : \u043f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u0435 \u0432\u0438\u043f\u0435\u0440\u0435\u0434\u0436\u0435\u043d\u043d\u044f, \u0449\u043e\u0431 \u043f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0442\u0438\u0441\u044f, \u0449\u043e \u0432 \u0440\u044f\u0434\u043a\u0443 \u0454 \u0445\u043e\u0447\u0430 \u0431 \u043e\u0434\u0438\u043d \u0441\u043f\u0435\u0446\u0456\u0430\u043b\u044c\u043d\u0438\u0439 \u0441\u0438\u043c\u0432\u043e\u043b .{8,} : \u0437\u0431\u0456\u0433 \u0456\u0437 \u0431\u0443\u0434\u044c-\u044f\u043a\u0438\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u043c (\u043a\u0440\u0456\u043c \u043d\u043e\u0432\u043e\u0433\u043e \u0440\u044f\u0434\u043a\u0430) \u043d\u0435 \u043c\u0435\u043d\u0448\u0435 8 \u0440\u0430\u0437\u0456\u0432<\/li>\n<li>$ : \u043a\u0456\u043d\u0435\u0446\u044c \u0440\u044f\u0434\u043a\u0430<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3 id=\"checkphone\">\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430 \u043d\u043e\u043c\u0435\u0440\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0443<\/h3>\n<pre class=\"lang:default decode:true\">static void Main()\r\n    {\r\n        string pattern = @\"^((+)?b(8|38)?(0[d]{2}))([d-]{5,8})([d]{2})\";\r\n        string phone = \"380964649874\";\r\n\r\n        if (Regex.IsMatch(phone, pattern, RegexOptions.IgnoreCase))\r\n        {\r\n            Console.WriteLine(\"\u041f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\");\r\n        }\r\n        else\r\n        {\r\n            Console.WriteLine(\"\"\"\r\n                \u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u043d\u043e\u043c\u0435\u0440\u0430:\r\n                +380970601478\r\n                380970601478\r\n                +80970601478\r\n                80970601478\r\n                +0970601478\r\n                +0970601478\r\n                0970601478\r\n                097-060-1478\r\n                097-060-14-78\r\n                \"\"\");\r\n        }\r\n    }<\/pre>\n<p>&nbsp;<\/p>\n<h3 id=\"checkcard\">\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430 \u043a\u0440\u0435\u0434\u0438\u0442\u043d\u043e\u0457 \u043a\u0430\u0440\u0442\u043a\u0438<\/h3>\n<pre class=\"lang:default decode:true\">static void Main()\r\n    {\r\n        string pattern = @\"^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13})$\";\r\n        string phone = \"5168756637895469\";\r\n\r\n        if (Regex.IsMatch(phone, pattern, RegexOptions.IgnoreCase))\r\n        {\r\n            Console.WriteLine(\"\u041f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\");\r\n        }\r\n        else\r\n        {\r\n            Console.WriteLine(\"\"\"\r\n                \u0423\u043a\u0430\u0436\u0438\u0442\u0435 \u043a\u0430\u0440\u0442\u0443, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0442\u0438\u043f\u0430\u043c \u043a\u0440\u0435\u0434\u0438\u0442\u043d\u044b\u0445 \u043a\u0430\u0440\u0442:\r\n                Visa (\u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 4)\r\n                Mastercard (\u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 5)\r\n                Discover (\u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 6011 \u0438\u043b\u0438 65)\r\n                American Express (\u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441 34 \u0438\u043b\u0438 37)\r\n                \"\"\");\r\n        }\r\n    }<\/pre>\n<p>\u041f\u043e\u044f\u0441\u043d\u0435\u043d\u043d\u044f:<\/p>\n<ul>\n<li>\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0439 \u0432\u0438\u0440\u0430\u0437 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454 \u044f\u043a\u043e\u0440\u044f ^ \u0456 $ \u0434\u043b\u044f \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u043e\u0441\u0442\u0456 \u0432\u0441\u044c\u043e\u043c\u0443 \u0440\u044f\u0434\u043a\u0443.<\/li>\n<li>\u0421\u0438\u043c\u0432\u043e\u043b | \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u0437\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u0438\u0445 \u0448\u0430\u0431\u043b\u043e\u043d\u0456\u0432 \u0434\u043b\u044f \u0437\u0456\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044f.<\/li>\n<li>\u041a\u043b\u0430\u0441 \u0441\u0438\u043c\u0432\u043e\u043b\u0456\u0432 [0-9] \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0454 \u0431\u0443\u0434\u044c-\u044f\u043a\u0456\u0439 \u0446\u0438\u0444\u0440\u0456 \u0432\u0456\u0434 0 \u0434\u043e 9.<\/li>\n<li>\u041a\u0432\u0430\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u043e\u0440 {n} \u0432\u043a\u0430\u0437\u0443\u0454, \u0449\u043e \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0456\u0439 \u0435\u043b\u0435\u043c\u0435\u043d\u0442 \u043c\u0430\u0454 \u0437\u0431\u0456\u0433\u0442\u0438\u0441\u044f \u0440\u0456\u0432\u043d\u043e n \u0440\u0430\u0437\u0456\u0432.<\/li>\n<li>\u0413\u0440\u0443\u043f\u0430 (?:&#8230;) \u0431\u0435\u0437 \u0437\u0430\u0445\u043e\u043f\u043b\u0435\u043d\u043d\u044f \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u0433\u0440\u0443\u043f\u0443\u0432\u0430\u043d\u043d\u044f \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0456\u0432 \u0440\u0430\u0437\u043e\u043c \u0431\u0435\u0437 \u0457\u0445\u043d\u044c\u043e\u0433\u043e \u0437\u0430\u0445\u043e\u043f\u043b\u0435\u043d\u043d\u044f.<\/li>\n<li>\u041d\u0430\u0440\u0435\u0448\u0442\u0456, \u043d\u0435\u043e\u0431\u043e\u0432&#8217;\u044f\u0437\u043a\u043e\u0432\u0430 \u0433\u0440\u0443\u043f\u0430 (?:&#8230;)? \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0454 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044c\u043e\u043c\u0443 \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0443 \u043d\u0443\u043b\u044c \u0430\u0431\u043e \u043e\u0434\u0438\u043d \u0440\u0430\u0437.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3 id=\"getdate\">\u0414\u0456\u0441\u0442\u0430\u0442\u0438 \u0434\u0430\u0442\u0443 \u043d\u0430\u0440\u043e\u0434\u0436\u0435\u043d\u043d\u044f<\/h3>\n<p>\u0412\u0430\u043c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0432\u0438\u0442\u044f\u0433\u0442\u0438 \u0432\u0441\u0456 \u0434\u0430\u0442\u0438 \u0437 \u0440\u044f\u0434\u043a\u0430 \u0443 \u0444\u043e\u0440\u043c\u0430\u0442\u0456 &#8220;YYYY-MM-DD&#8221;?<\/p>\n<p>\u041e\u0441\u044c \u043f\u0440\u0438\u043a\u043b\u0430\u0434:<\/p>\n<pre class=\"lang:default decode:true \">static void Main()\r\n    {\r\n        string pattern = @\"bd{4}-d{2}-d{2}b\";\r\n        string input = \"Today is 2023-02-21 and the meeting is on 2023-02-28\";\r\n\r\n        MatchCollection matches = Regex.Matches(input, pattern);\r\n\r\n        foreach (Match match in matches)\r\n        {\r\n            Console.WriteLine(match.Value);\r\n        }\r\n    }<\/pre>\n<p>\u0423 \u0446\u044c\u043e\u043c\u0443 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456 \u043c\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u043c\u043e \u0448\u0430\u0431\u043b\u043e\u043d \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0433\u043e \u0432\u0438\u0440\u0430\u0437\u0443 \u0434\u043b\u044f \u043f\u043e\u0448\u0443\u043a\u0443 \u0432\u0441\u0456\u0445 \u0434\u0430\u0442 \u0443 \u0432\u0445\u0456\u0434\u043d\u043e\u043c\u0443 \u0440\u044f\u0434\u043a\u0443. \u0428\u0430\u0431\u043b\u043e\u043d \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0454 \u0431\u0443\u0434\u044c-\u044f\u043a\u0456\u0439 \u043f\u043e\u0441\u043b\u0456\u0434\u043e\u0432\u043d\u043e\u0441\u0442\u0456 \u0437 \u0447\u043e\u0442\u0438\u0440\u044c\u043e\u0445 \u0446\u0438\u0444\u0440, \u0437\u0430 \u044f\u043a\u0438\u043c\u0438 \u0441\u043b\u0456\u0434\u0443\u0454 \u0434\u0435\u0444\u0456\u0441, \u043f\u043e\u0442\u0456\u043c \u0434\u0432\u0456 \u0446\u0438\u0444\u0440\u0438, \u0449\u0435 \u043e\u0434\u0438\u043d \u0434\u0435\u0444\u0456\u0441 \u0456, \u043d\u0430\u0440\u0435\u0448\u0442\u0456, \u0449\u0435 \u0434\u0432\u0456 \u0446\u0438\u0444\u0440\u0438. \u041c\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u043c\u043e \u043c\u0435\u0436\u0456 \u0441\u043b\u0456\u0432 (b) \u043d\u0430 \u043f\u043e\u0447\u0430\u0442\u043a\u0443 \u0456 \u0432 \u043a\u0456\u043d\u0446\u0456 \u0448\u0430\u0431\u043b\u043e\u043d\u0443, \u0449\u043e\u0431 \u0437\u0430\u0431\u0435\u0437\u043f\u0435\u0447\u0438\u0442\u0438 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u0456\u0441\u0442\u044c \u0442\u0456\u043b\u044c\u043a\u0438 \u043f\u043e\u0432\u043d\u0438\u043c \u0434\u0430\u0442\u0430\u043c, \u0430 \u043d\u0435 \u0447\u0430\u0441\u0442\u043a\u043e\u0432\u0438\u043c \u0434\u0430\u0442\u0430\u043c \u0443 \u0432\u0435\u043b\u0438\u043a\u0438\u0445 \u0440\u044f\u0434\u043a\u0430\u0445.<\/p>\n<p>\u041c\u0435\u0442\u043e\u0434 Regex.Matches \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u043f\u043e\u0448\u0443\u043a\u0443 \u0432\u0441\u0456\u0445 \u0432\u0445\u043e\u0434\u0436\u0435\u043d\u044c \u0448\u0430\u0431\u043b\u043e\u043d\u0443 \u0443 \u0432\u0445\u0456\u0434\u043d\u043e\u043c\u0443 \u0440\u044f\u0434\u043a\u0443. \u041f\u043e\u0442\u0456\u043c \u043c\u0438 \u043f\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0454\u043c\u043e \u043e\u0442\u0440\u0438\u043c\u0430\u043d\u0443 \u043a\u043e\u043b\u0435\u043a\u0446\u0456\u044e MatchCollection \u0456 \u0432\u0438\u0432\u043e\u0434\u0438\u043c\u043e \u043a\u043e\u0436\u043d\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0437\u0431\u0456\u0433\u0443 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c.<\/p>\n<p>\u042f \u0441\u043f\u043e\u0434\u0456\u0432\u0430\u044e\u0441\u044f, \u0449\u043e \u0432\u0430\u043c \u0441\u043f\u043e\u0434\u043e\u0431\u0430\u043b\u043e\u0441\u044f \u0447\u0438\u0442\u0430\u0442\u0438 \u0446\u044e \u0441\u0442\u0430\u0442\u0442\u044e, \u0456 \u0432\u043e\u043d\u0430 \u0432\u0438\u044f\u0432\u0438\u043b\u0430\u0441\u044f \u043b\u0435\u0433\u043a\u043e\u044e \u0434\u043b\u044f \u0440\u043e\u0437\u0443\u043c\u0456\u043d\u043d\u044f. \u0411\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430, \u0434\u0430\u0439\u0442\u0435 \u043c\u0435\u043d\u0456 \u0437\u043d\u0430\u0442\u0438, \u044f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 \u0454 \u044f\u043a\u0456\u0441\u044c \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u0456 \u0430\u0431\u043e \u0432\u0438\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044f.<\/p>\n<p>\u0422\u0430\u043a \u0441\u0430\u043c\u043e \u0432\u0430\u043c \u043c\u043e\u0436\u0435 \u0431\u0443\u0442\u0438 \u0446\u0456\u043a\u0430\u0432\u0430 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u044f \u0441\u0442\u0430\u0442\u0442\u044f &#8211; <a href=\"https:\/\/dijix.com.ua\/blog\/uk\/pochemu-stoit-uchit-imenno-c\/\">\u0427\u043e\u043c\u0443 \u0432\u0430\u0440\u0442\u043e \u0432\u0447\u0438\u0442\u0438 \u0441\u0430\u043c\u0435 C#?<\/a><\/p>\n<hr \/>\n<h4><strong>\u0412\u0438 \u0445\u043e\u0447\u0435\u0442\u0435 \u043d\u0430\u0432\u0447\u0438\u0442\u0438\u0441\u044f \u043f\u0438\u0441\u0430\u0442\u0438 \u043a\u043e\u0434 \u043c\u043e\u0432\u043e\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0443\u0432\u0430\u043d\u043d\u044f C#?<\/strong><\/h4>\n<p>\u0421\u0442\u0432\u043e\u0440\u044e\u0432\u0430\u0442\u0438 \u0440\u0456\u0437\u043d\u0456 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u0439\u043d\u0456 \u0441\u0438\u0441\u0442\u0435\u043c\u0438, \u0449\u043e \u0441\u043a\u043b\u0430\u0434\u0430\u044e\u0442\u044c\u0441\u044f \u0437 \u0441\u0430\u0439\u0442\u0456\u0432, \u043c\u043e\u0431\u0456\u043b\u044c\u043d\u0438\u0445 \u043a\u043b\u0456\u0454\u043d\u0442\u0456\u0432, \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u0438\u0445 \u0434\u043e\u0434\u0430\u0442\u043a\u0456\u0432, \u0442\u0435\u043b\u0435\u0433\u0440\u0430\u043c-\u0431\u043e\u0442\u0456\u0432 \u0442\u043e\u0449\u043e.<\/p>\n<p><a href=\"https:\/\/dijix.com.ua\/\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-94 size-full\" src=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/logog-brand.png\" alt=\"\" width=\"355\" height=\"77\" srcset=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/logog-brand.png 355w, https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/logog-brand-300x65.png 300w\" sizes=\"auto, (max-width: 355px) 100vw, 355px\" \/><\/a><\/p>\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u044c\u0442\u0435 \u0434\u043e \u043d\u0430\u0441 \u043d\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0443 Dijix \u0456 \u043e\u0437\u043d\u0430\u0439\u043e\u043c\u0442\u0435\u0441\u044f \u0437 \u0443\u043c\u043e\u0432\u0430\u043c\u0438 \u043d\u0430\u0432\u0447\u0430\u043d\u043d\u044f, \u043c\u0438 \u0441\u043f\u0435\u0446\u0456\u0430\u043b\u0456\u0437\u0443\u0454\u043c\u043e\u0441\u044f \u0442\u0456\u043b\u044c\u043a\u0438 \u043d\u0430 \u0456\u043d\u0434\u0438\u0432\u0456\u0434\u0443\u0430\u043b\u044c\u043d\u0438\u0445 \u0437\u0430\u043d\u044f\u0442\u0442\u044f\u0445, \u044f\u043a \u0434\u043b\u044f \u043f\u043e\u0447\u0430\u0442\u043a\u0456\u0432\u0446\u0456\u0432, \u0442\u0430\u043a \u0456 \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0443\u043d\u0443\u0442\u0438\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0456\u0441\u0442\u0456\u0432. \u0412\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0437\u044f\u0442\u0438 \u044f\u043a \u043e\u0434\u043d\u0435 \u0437\u0430\u043d\u044f\u0442\u0442\u044f \u0434\u043b\u044f \u043e\u043f\u0440\u0430\u0446\u044e\u0432\u0430\u043d\u043d\u044f \u043f\u0438\u0442\u0430\u043d\u043d\u044f, \u0449\u043e \u0432\u0430\u0441 \u0446\u0456\u043a\u0430\u0432\u0438\u0442\u044c, \u0442\u0430\u043a \u0456 \u043a\u0456\u043b\u044c\u043a\u0430, \u0434\u043b\u044f \u0431\u0456\u043b\u044c\u0448 \u0449\u0456\u043b\u044c\u043d\u043e\u0457 \u0440\u043e\u0431\u043e\u0442\u0438. \u0417\u0430\u0432\u0434\u044f\u043a\u0438 \u043e\u0441\u043e\u0431\u0438\u0441\u0442\u043e\u043c\u0443 \u043a\u0430\u0431\u0456\u043d\u0435\u0442\u0443, \u043a\u043e\u0436\u0435\u043d \u0441\u0442\u0443\u0434\u0435\u043d\u0442 \u043f\u0456\u0434\u0432\u0438\u0449\u0438\u0442\u044c \u044f\u043a\u0456\u0441\u0442\u044c \u0441\u0432\u043e\u0433\u043e \u043d\u0430\u0432\u0447\u0430\u043d\u043d\u044f, \u0443 \u0432\u0430\u0448\u043e\u043c\u0443 \u0440\u043e\u0437\u043f\u043e\u0440\u044f\u0434\u0436\u0435\u043d\u043d\u0456:<\/p>\n<ul>\n<li>\u0414\u043e\u0441\u0442\u0443\u043f \u0434\u043e \u043f\u0440\u043e\u0439\u0434\u0435\u043d\u043e\u0433\u043e \u043c\u0430\u0442\u0435\u0440\u0456\u0430\u043b\u0443<\/li>\n<li>\u0422\u0435\u043c\u0430\u0442\u0438\u0447\u043d\u0456 \u0441\u0442\u0430\u0442\u0442\u0456<\/li>\n<li>\u0411\u0456\u0431\u043b\u0456\u043e\u0442\u0435\u043a\u0430 \u043a\u043d\u0438\u0433<\/li>\n<li>\u041e\u043d\u043b\u0430\u0439\u043d \u0442\u0435\u0441\u0442\u0443\u0432\u0430\u043d\u043d\u044f<\/li>\n<li>\u0421\u043f\u0456\u043b\u043a\u0443\u0432\u0430\u043d\u043d\u044f \u0432 \u0437\u0430\u043a\u0440\u0438\u0442\u0438\u0445 \u0433\u0440\u0443\u043f\u0430\u0445<\/li>\n<\/ul>\n<blockquote>\n<p style=\"text-align: right;\"><a href=\"https:\/\/dijix.com.ua\/uk\/\">https:\/\/dijix.com.ua<\/a><\/p>\n<p style=\"text-align: right;\"><a href=\"https:\/\/ms.dijix.com.ua\/\">\u0416\u0438\u0432\u0438 \u0443 \u0441\u0432\u043e\u0454\u043c\u0443 \u0441\u0432\u0456\u0442\u0456, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0443\u0439 \u0443 \u043d\u0430\u0448\u043e\u043c\u0443<\/a>.<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u043c\u0438 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e \u043d\u0430\u0439\u043f\u043e\u0448\u0438\u0440\u0435\u043d\u0456\u0448\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432, \u044f\u043a\u0456 \u043c\u043e\u0436\u0443\u0442\u044c \u0431\u0443\u0442\u0438 \u043a\u043e\u0440\u0438\u0441\u043d\u0438\u043c\u0438 \u0432\u0430\u043c \u0434\u043b\u044f \u0432\u0438\u0440\u0456\u0448\u0435\u043d\u043d\u044f \u0437\u0430\u0432\u0434\u0430\u043d\u044c. \u041c\u0430\u0442\u0435\u0440\u0456\u0430\u043b \u0446\u0456\u0454\u0457 \u0441\u0442\u0430\u0442\u0442\u0456 \u0431\u0443\u0434\u0435 \u0434\u043e\u043f\u043e\u0432\u043d\u044e\u0432\u0430\u0442\u0438\u0441\u044f \u043d\u0430 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0456\u0439 \u043e\u0441\u043d\u043e\u0432\u0456.&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/\">Continue reading<span class=\"screen-reader-text\">\u041f\u043e\u0448\u0438\u0440\u0435\u043d\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432 [C#].<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":578,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"uk","_original_post":"https:\/\/dijix.com.ua\/blog\/?p=576","footnotes":""},"categories":[7],"tags":[],"class_list":["post-581","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-yazyk-programmirovaniya-c","uk","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>\u041f\u043e\u0448\u0438\u0440\u0435\u043d\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432 [C#]. - Dijix - \u0411\u043b\u043e\u0433<\/title>\r\n<meta name=\"description\" content=\"\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u043c\u0438 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e \u043d\u0430\u0439\u043f\u043e\u0448\u0438\u0440\u0435\u043d\u0456\u0448\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432, \u044f\u043a\u0456 \u043c\u043e\u0436\u0443\u0442\u044c \u0431\u0443\u0442\u0438 \u043a\u043e\u0440\u0438\u0441\u043d\u0438\u043c\u0438 \u0432\u0430\u043c \u0434\u043b\u044f \u0432\u0438\u0440\u0456\u0448\u0435\u043d\u043d\u044f \u0437\u0430\u0432\u0434\u0430\u043d\u044c.\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/\" \/>\r\n<meta property=\"og:locale\" content=\"uk_UA\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"\u041f\u043e\u0448\u0438\u0440\u0435\u043d\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432 [C#]. - Dijix - \u0411\u043b\u043e\u0433\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/\" \/>\r\n<meta property=\"og:site_name\" content=\"Dijix - \u0411\u043b\u043e\u0433\" \/>\r\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Dijixs\" \/>\r\n<meta property=\"article:published_time\" content=\"2023-02-23T16:02:40+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/02\/1-min-2.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"500\" \/>\r\n\t<meta property=\"og:image:height\" content=\"250\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u0445\u0432\u0438\u043b\u0438\u043d\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/\"},\"author\":{\"name\":\"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/4ce2240cdf3db189e17ca0ff422a0c3d\"},\"headline\":\"\u041f\u043e\u0448\u0438\u0440\u0435\u043d\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432 [C#].\",\"datePublished\":\"2023-02-23T16:02:40+00:00\",\"dateModified\":\"2023-02-23T16:02:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/\"},\"wordCount\":553,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/#organization\"},\"articleSection\":[\"\u041c\u043e\u0432\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0443\u0432\u0430\u043d\u043d\u044f C#\"],\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/\",\"url\":\"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/\",\"name\":\"\u041f\u043e\u0448\u0438\u0440\u0435\u043d\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432 [C#]. - Dijix - \u0411\u043b\u043e\u0433\",\"isPartOf\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/#website\"},\"datePublished\":\"2023-02-23T16:02:40+00:00\",\"dateModified\":\"2023-02-23T16:02:40+00:00\",\"description\":\"\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u043c\u0438 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e \u043d\u0430\u0439\u043f\u043e\u0448\u0438\u0440\u0435\u043d\u0456\u0448\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432, \u044f\u043a\u0456 \u043c\u043e\u0436\u0443\u0442\u044c \u0431\u0443\u0442\u0438 \u043a\u043e\u0440\u0438\u0441\u043d\u0438\u043c\u0438 \u0432\u0430\u043c \u0434\u043b\u044f \u0432\u0438\u0440\u0456\u0448\u0435\u043d\u043d\u044f \u0437\u0430\u0432\u0434\u0430\u043d\u044c.\",\"breadcrumb\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/#breadcrumb\"},\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/dijix.com.ua\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u041f\u043e\u0448\u0438\u0440\u0435\u043d\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432 [C#].\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#website\",\"url\":\"https:\/\/dijix.com.ua\/blog\/\",\"name\":\"Dijix - \u0411\u043b\u043e\u0433\",\"description\":\"\ud83d\udc9c\",\"publisher\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dijix.com.ua\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"uk\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#organization\",\"name\":\"Dijix - \u0411\u043b\u043e\u0433\",\"url\":\"https:\/\/dijix.com.ua\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/\u0421\u043d\u0438\u043c\u043e\u043a.png\",\"contentUrl\":\"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/\u0421\u043d\u0438\u043c\u043e\u043a.png\",\"width\":159,\"height\":92,\"caption\":\"Dijix - \u0411\u043b\u043e\u0433\"},\"image\":{\"@id\":\"https:\/\/dijix.com.ua\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Dijixs\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/4ce2240cdf3db189e17ca0ff422a0c3d\",\"name\":\"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e3e8fa72f5adf168d30934fb574a97a5e812e7d6e2795075f0e7ea19311e3ba9?s=96&d=monsterid&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e3e8fa72f5adf168d30934fb574a97a5e812e7d6e2795075f0e7ea19311e3ba9?s=96&d=monsterid&r=g\",\"caption\":\"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430\"},\"sameAs\":[\"https:\/\/dijix.com.ua\/blog\"],\"url\":\"https:\/\/dijix.com.ua\/blog\/author\/admin\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u041f\u043e\u0448\u0438\u0440\u0435\u043d\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432 [C#]. - Dijix - \u0411\u043b\u043e\u0433","description":"\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u043c\u0438 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e \u043d\u0430\u0439\u043f\u043e\u0448\u0438\u0440\u0435\u043d\u0456\u0448\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432, \u044f\u043a\u0456 \u043c\u043e\u0436\u0443\u0442\u044c \u0431\u0443\u0442\u0438 \u043a\u043e\u0440\u0438\u0441\u043d\u0438\u043c\u0438 \u0432\u0430\u043c \u0434\u043b\u044f \u0432\u0438\u0440\u0456\u0448\u0435\u043d\u043d\u044f \u0437\u0430\u0432\u0434\u0430\u043d\u044c.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/","og_locale":"uk_UA","og_type":"article","og_title":"\u041f\u043e\u0448\u0438\u0440\u0435\u043d\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432 [C#]. - Dijix - \u0411\u043b\u043e\u0433","og_url":"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/","og_site_name":"Dijix - \u0411\u043b\u043e\u0433","article_publisher":"https:\/\/www.facebook.com\/Dijixs","article_published_time":"2023-02-23T16:02:40+00:00","og_image":[{"width":500,"height":250,"url":"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2023\/02\/1-min-2.png","type":"image\/png"}],"author":"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e":"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430","\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f":"5 \u0445\u0432\u0438\u043b\u0438\u043d"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/#article","isPartOf":{"@id":"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/"},"author":{"name":"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430","@id":"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/4ce2240cdf3db189e17ca0ff422a0c3d"},"headline":"\u041f\u043e\u0448\u0438\u0440\u0435\u043d\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432 [C#].","datePublished":"2023-02-23T16:02:40+00:00","dateModified":"2023-02-23T16:02:40+00:00","mainEntityOfPage":{"@id":"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/"},"wordCount":553,"commentCount":0,"publisher":{"@id":"https:\/\/dijix.com.ua\/blog\/#organization"},"articleSection":["\u041c\u043e\u0432\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0443\u0432\u0430\u043d\u043d\u044f C#"],"inLanguage":"uk","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/","url":"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/","name":"\u041f\u043e\u0448\u0438\u0440\u0435\u043d\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432 [C#]. - Dijix - \u0411\u043b\u043e\u0433","isPartOf":{"@id":"https:\/\/dijix.com.ua\/blog\/#website"},"datePublished":"2023-02-23T16:02:40+00:00","dateModified":"2023-02-23T16:02:40+00:00","description":"\u0423 \u0446\u0456\u0439 \u0441\u0442\u0430\u0442\u0442\u0456 \u043c\u0438 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e \u043d\u0430\u0439\u043f\u043e\u0448\u0438\u0440\u0435\u043d\u0456\u0448\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432, \u044f\u043a\u0456 \u043c\u043e\u0436\u0443\u0442\u044c \u0431\u0443\u0442\u0438 \u043a\u043e\u0440\u0438\u0441\u043d\u0438\u043c\u0438 \u0432\u0430\u043c \u0434\u043b\u044f \u0432\u0438\u0440\u0456\u0448\u0435\u043d\u043d\u044f \u0437\u0430\u0432\u0434\u0430\u043d\u044c.","breadcrumb":{"@id":"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/#breadcrumb"},"inLanguage":"uk","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/dijix.com.ua\/blog\/uk\/rasprostranennye-primery-regulyarnyh-vyrazhenij-c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/dijix.com.ua\/blog\/"},{"@type":"ListItem","position":2,"name":"\u041f\u043e\u0448\u0438\u0440\u0435\u043d\u0456 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u0438\u0445 \u0432\u0438\u0440\u0430\u0437\u0456\u0432 [C#]."}]},{"@type":"WebSite","@id":"https:\/\/dijix.com.ua\/blog\/#website","url":"https:\/\/dijix.com.ua\/blog\/","name":"Dijix - \u0411\u043b\u043e\u0433","description":"\ud83d\udc9c","publisher":{"@id":"https:\/\/dijix.com.ua\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dijix.com.ua\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"uk"},{"@type":"Organization","@id":"https:\/\/dijix.com.ua\/blog\/#organization","name":"Dijix - \u0411\u043b\u043e\u0433","url":"https:\/\/dijix.com.ua\/blog\/","logo":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/dijix.com.ua\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/\u0421\u043d\u0438\u043c\u043e\u043a.png","contentUrl":"https:\/\/dijix.com.ua\/blog\/wp-content\/uploads\/2022\/08\/\u0421\u043d\u0438\u043c\u043e\u043a.png","width":159,"height":92,"caption":"Dijix - \u0411\u043b\u043e\u0433"},"image":{"@id":"https:\/\/dijix.com.ua\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Dijixs"]},{"@type":"Person","@id":"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/4ce2240cdf3db189e17ca0ff422a0c3d","name":"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430","image":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/dijix.com.ua\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e3e8fa72f5adf168d30934fb574a97a5e812e7d6e2795075f0e7ea19311e3ba9?s=96&d=monsterid&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e3e8fa72f5adf168d30934fb574a97a5e812e7d6e2795075f0e7ea19311e3ba9?s=96&d=monsterid&r=g","caption":"\u041b\u0435\u043e\u043d\u0438\u0434 \u041a\u0430\u0440\u0443\u043d\u0430"},"sameAs":["https:\/\/dijix.com.ua\/blog"],"url":"https:\/\/dijix.com.ua\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/posts\/581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/comments?post=581"}],"version-history":[{"count":1,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/posts\/581\/revisions"}],"predecessor-version":[{"id":582,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/posts\/581\/revisions\/582"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/media\/578"}],"wp:attachment":[{"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/media?parent=581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/categories?post=581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dijix.com.ua\/blog\/wp-json\/wp\/v2\/tags?post=581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}