{"id":83,"date":"2009-07-21T14:05:00","date_gmt":"1970-01-01T00:00:00","guid":{"rendered":"http:\/\/www.yazilimmutfagi.com\/?p=83"},"modified":"2009-07-21T14:05:00","modified_gmt":"1970-01-01T00:00:00","slug":"asp-net-validation-kontrolleri-regularexpressionvalidator-ile-eposta-formati-kontrol-etm","status":"publish","type":"post","link":"https:\/\/www.yazilimmutfagi.com\/index.php\/2009\/07\/21\/asp-net-validation-kontrolleri-regularexpressionvalidator-ile-eposta-formati-kontrol-etm\/","title":{"rendered":"ASP.NET Validation Kontrolleri \u2013 RegularExpressionValidator ile Eposta formati kontrol etmek"},"content":{"rendered":"<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 10pt;\"><span style=\"font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\"><span style=\"font-size: small;\"><strong>ASP.NET Validation Kontrolleri &ndash; RegularExpressionValidator<\/strong><\/span><\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 10pt;\"><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">Sayfamizda kullandigimiz input kontroller i&ccedil;ine yazilmis olan bilgilerin istedigimiz formata uygun olup olmadigini kontrol etmek i&ccedil;in <\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); line-height: 115%; font-family: &quot;Courier New&quot;;\">RegularExpressionValidator <\/span><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">kontrol&uuml;n&uuml; kullaniriz. Visual Studio&rsquo;da Toolbox i&ccedil;inde Validation men&uuml;s&uuml; altinda bulabilecegimiz bu kontrol bizi bir &ccedil;ok dertten kurtaracak &ouml;zelliklere sahip. &Ouml;rneginm girilen bir e-posta adresinin ge&ccedil;erli bir e-Posta adresi olup olmadigini kontrol etmek bu sayede &ccedil;ok kolay oluyor.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 10pt;\"><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">Ilk olarak sayfamizin html b&ouml;l&uuml;m&uuml;ne bir <\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); line-height: 115%; font-family: &quot;Courier New&quot;;\">RegularExpressionValidator <\/span><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">ekliyoruz. Daha sonra bu kontrol&uuml;n sayfamizda bulnan hangi inputu kontrol edecegini belirliyoruz. Bunun i&ccedil;in <\/span><span style=\"font-size: 10pt; color: red; line-height: 115%; font-family: &quot;Courier New&quot;;\">ControlToValidate <\/span><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">&ouml;zelligini<\/span><span style=\"font-size: 10pt; color: red; line-height: 115%; font-family: &quot;Courier New&quot;;\"> <\/span><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">kullaniyoruz. Hata olustugu zaman ekranda g&ouml;r&uuml;necek hata mesajini <\/span><span style=\"font-size: 10pt; color: red; line-height: 115%; font-family: &quot;Courier New&quot;;\">ErrorMessage<\/span><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\"> &ouml;zelligini setleyerek belirliyoruz. Inputumuzun alacagi bilginin formatini regular expressionla belirlemek i&ccedil;in ise <\/span><span style=\"font-size: 10pt; color: red; line-height: 115%; font-family: &quot;Courier New&quot;;\">ValidationExpression<\/span><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\"> &ouml;zelligini kullaniyoruz.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 10pt;\"><a href='www.yazilimmutfagi.com'>.<\/a><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 10pt;\"><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">E-Posta bilgisi almak i&ccedil;in kullanacagimiz bir TextBox kontrol&uuml;ne yazilan bilginin bir e-posta olup olmadigini kontrol etmek i&ccedil;in yazacagimiz kod asagidaki gibi olacak.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 10pt;\"><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\"><span style=\"\">&nbsp;&nbsp; <\/span><\/span><\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"1\" class=\"MsoTableGrid\" style=\"background: rgb(242, 242, 242) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; border-collapse: collapse;\">\n    <tbody>\n        <tr style=\"\">\n            <td valign=\"top\" width=\"612\" style=\"border: 1pt solid black; padding: 0cm 5.4pt; width: 459pt; background-color: transparent;\">\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; color: blue; font-family: &quot;Courier New&quot;;\">&lt;<\/span><span style=\"font-size: 9pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">table<\/span><span style=\"font-size: 9pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">&lt;<\/span><span style=\"color: rgb(163, 21, 21);\">tr<\/span><span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">&lt;<\/span><span style=\"color: rgb(163, 21, 21);\">td<\/span><span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span>E-Posta :<\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">&lt;\/<\/span><span style=\"color: rgb(163, 21, 21);\">td<\/span><span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">&lt;<\/span><span style=\"color: rgb(163, 21, 21);\">td<\/span><span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">&lt;<\/span><span style=\"color: rgb(163, 21, 21);\">asp<\/span><span style=\"color: blue;\">:<\/span><span style=\"color: rgb(163, 21, 21);\">TextBox<\/span> <span style=\"color: red;\">ID<\/span><span style=\"color: blue;\">=&quot;EPostaTextBox&quot;<\/span> <span style=\"color: red;\">runat<\/span><span style=\"color: blue;\">=&quot;server&quot;&gt;&lt;\/<\/span><span style=\"color: rgb(163, 21, 21);\">asp<\/span><span style=\"color: blue;\">:<\/span><span style=\"color: rgb(163, 21, 21);\">TextBox<\/span><span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">&lt;<\/span><span style=\"color: rgb(163, 21, 21);\">asp<\/span><span style=\"color: blue;\">:<\/span><span style=\"color: rgb(163, 21, 21);\">RegularExpressionValidator<\/span> <\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: red;\">ID<\/span><span style=\"color: blue;\">=&quot;RegularExpressionValidator1&quot;<\/span> <\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: red;\">runat<\/span><span style=\"color: blue;\">=&quot;server&quot;<\/span> <\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: red;\">ValidationExpression<\/span><span style=\"color: blue;\">=&quot;^([0-9a-zA-Z]([-\\.\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\w]*[0-9a-zA-Z]\\.)+[a-zA-Z]{2,9})$&quot;<\/span><\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: red;\">ControlToValidate<\/span><span style=\"color: blue;\">=&quot;EPostaTextBox&quot;<\/span> <\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: red;\">ErrorMessage<\/span><span style=\"color: blue;\">=&quot;Ge&ccedil;erli Bir e-Posta Adresi Degil&quot;<\/span> <span style=\"color: blue;\">\/&gt;<\/span><\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">&lt;\/<\/span><span style=\"color: rgb(163, 21, 21);\">td<\/span><span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">&lt;\/<\/span><span style=\"color: rgb(163, 21, 21);\">tr<\/span><span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">&lt;<\/span><span style=\"color: rgb(163, 21, 21);\">tr<\/span><span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">&lt;<\/span><span style=\"color: rgb(163, 21, 21);\">td<\/span> <span style=\"color: red;\">colspan<\/span><span style=\"color: blue;\">=2<\/span> <span style=\"color: red;\">align<\/span><span style=\"color: blue;\">=center&gt;<\/span><\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">&lt;<\/span><span style=\"color: rgb(163, 21, 21);\">asp<\/span><span style=\"color: blue;\">:<\/span><span style=\"color: rgb(163, 21, 21);\">Button<\/span> <span style=\"color: red;\">ID<\/span><span style=\"color: blue;\">=&quot;Button1&quot;<\/span> <span style=\"color: red;\">runat<\/span><span style=\"color: blue;\">=&quot;server&quot;<\/span> <span style=\"color: red;\">Text<\/span><span style=\"color: blue;\">=&quot;Onayla&quot;<\/span> <span style=\"color: blue;\">\/&gt;<\/span><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">&lt;\/<\/span><span style=\"color: rgb(163, 21, 21);\">td<\/span><span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; font-family: &quot;Courier New&quot;;\"><span style=\"\">&nbsp;&nbsp;&nbsp; <\/span><span style=\"color: blue;\">&lt;\/<\/span><span style=\"color: rgb(163, 21, 21);\">tr<\/span><span style=\"color: blue;\">&gt;<\/span><\/span><\/p>\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 9pt; color: blue; font-family: &quot;Courier New&quot;;\">&lt;\/<\/span><span style=\"font-size: 9pt; color: rgb(163, 21, 21); font-family: &quot;Courier New&quot;;\">table<\/span><span style=\"font-size: 9pt; color: blue; font-family: &quot;Courier New&quot;;\">&gt;<\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 10pt;\"><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">&nbsp;<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 10pt;\"><span style=\"font-size: 10pt; color: rgb(163, 21, 21); line-height: 115%; font-family: &quot;Courier New&quot;;\">RegularExpressionValidator <\/span><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">textboxin bos olup olmadigini kontrol etmez. Eger yukaridaki &ouml;rnekte E-posta adresi bos girilirse ge&ccedil;erli sayilacaktir. Eger bos ge&ccedil;ilmesini istemiyorsaniz Validation menusu altinda bulunan <\/span><span style=\"font-size: 10pt; color: rgb(163, 21, 21); line-height: 115%; font-family: &quot;Courier New&quot;;\">RequiredFieldValidator<\/span><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\"> kontrol&uuml;n&uuml; kullanmaniz gerekmektedir. Bu kontrol&uuml;n kullanimi hakkinda bilgiyi sonraki makalemizde verecegim.<\/span><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 10pt;\"><a href='www.yazilimmutfagi.com'>.<\/a><\/p>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 10pt;\"><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\"><strong>Bazi Regular Expression Ifadeleri:<\/strong><\/span><\/p>\n<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"576\" class=\"MsoNormalTable\" style=\"margin: auto auto auto 2.8pt; width: 432pt; border-collapse: collapse;\">\n    <tbody>\n        <tr style=\"height: 15pt;\">\n            <td valign=\"top\" width=\"99\" style=\"border: 1pt solid windowtext; padding: 0cm 3.5pt; background: rgb(197, 217, 241) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 74pt; height: 15pt;\">\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><strong><span style=\"font-size: 10pt; color: black; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">Alan<\/span><\/strong><\/p>\n            <\/td>\n            <td valign=\"top\" width=\"239\" style=\"border-style: solid solid solid none; border-color: windowtext windowtext windowtext rgb(240, 240, 240); border-width: 1pt 1pt 1pt medium; padding: 0cm 3.5pt; background: rgb(197, 217, 241) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 179pt; height: 15pt;\">\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><strong><span style=\"font-size: 10pt; color: black; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">Regular Expression<\/span><\/strong><\/p>\n            <\/td>\n            <td valign=\"top\" width=\"129\" style=\"border-style: solid solid solid none; border-color: windowtext windowtext windowtext rgb(240, 240, 240); border-width: 1pt 1pt 1pt medium; padding: 0cm 3.5pt; background: rgb(197, 217, 241) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 97pt; height: 15pt;\">\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><strong><span style=\"font-size: 10pt; color: black; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">Format &Ouml;rnekleri<\/span><\/strong><\/p>\n            <\/td>\n            <td valign=\"top\" width=\"109\" style=\"border-style: solid solid solid none; border-color: windowtext windowtext windowtext rgb(240, 240, 240); border-width: 1pt 1pt 1pt medium; padding: 0cm 3.5pt; background: rgb(197, 217, 241) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 82pt; height: 15pt;\">\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><strong><span style=\"font-size: 10pt; color: black; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">A&ccedil;iklama<\/span><\/strong><\/p>\n            <\/td>\n        <\/tr>\n        <tr style=\"height: 60pt;\">\n            <td valign=\"top\" width=\"99\" style=\"border-style: none solid solid; border-color: rgb(240, 240, 240) windowtext windowtext; border-width: medium 1pt 1pt; padding: 0cm 3.5pt; background: rgb(242, 242, 242) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 74pt; height: 60pt;\">\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 10pt; color: black; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">Telefon Numarasi<\/span><\/p>\n            <\/td>\n            <td valign=\"top\" width=\"239\" style=\"border-style: none solid solid none; border-color: rgb(240, 240, 240) windowtext windowtext rgb(240, 240, 240); border-width: medium 1pt 1pt medium; padding: 0cm 3.5pt; background: rgb(242, 242, 242) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 179pt; height: 60pt;\">\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 10pt; color: black; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">^[01]?[- .]?(\\([2-9]\\d{2}\\)|[2-9]\\d{2})[- .]?\\d{3}[- .]?\\d{4}$<\/span><\/p>\n            <\/td>\n            <td valign=\"top\" width=\"129\" style=\"border-style: none solid solid none; border-color: rgb(240, 240, 240) windowtext windowtext rgb(240, 240, 240); border-width: medium 1pt 1pt medium; padding: 0cm 3.5pt; background: rgb(242, 242, 242) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 97pt; height: 60pt;\">\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 10pt; color: black; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">(425) 555-0123<br \/>\n            425-555-0123<br \/>\n            425 555 0123<br \/>\n            1-425-555-0123<\/span><\/p>\n            <\/td>\n            <td valign=\"top\" width=\"109\" style=\"border-style: none solid solid none; border-color: rgb(240, 240, 240) windowtext windowtext rgb(240, 240, 240); border-width: medium 1pt 1pt medium; padding: 0cm 3.5pt; background: rgb(242, 242, 242) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 82pt; height: 60pt;\">\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 10pt; color: black; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">Telefon numarasi dogrulamak i&ccedil;in<\/span><\/p>\n            <\/td>\n        <\/tr>\n        <tr style=\"height: 45pt;\">\n            <td valign=\"top\" width=\"99\" style=\"border-style: none solid solid; border-color: rgb(240, 240, 240) windowtext windowtext; border-width: medium 1pt 1pt; padding: 0cm 3.5pt; background: rgb(216, 216, 216) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 74pt; height: 45pt;\">\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 10pt; color: black; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">E-Posta<\/span><\/p>\n            <\/td>\n            <td valign=\"top\" width=\"239\" style=\"border-style: none solid solid none; border-color: rgb(240, 240, 240) windowtext windowtext rgb(240, 240, 240); border-width: medium 1pt 1pt medium; padding: 0cm 3.5pt; background: rgb(216, 216, 216) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 179pt; height: 45pt;\">\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 10pt; color: black; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">^([0-9a-zA-Z]([-\\.\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\w]*[0-9a-zA-Z]\\.)+[a-zA-Z]{2,9})$<\/span><\/p>\n            <\/td>\n            <td valign=\"top\" width=\"129\" style=\"border-style: none solid solid none; border-color: rgb(240, 240, 240) windowtext windowtext rgb(240, 240, 240); border-width: medium 1pt 1pt medium; padding: 0cm 3.5pt; background: rgb(216, 216, 216) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 97pt; height: 45pt;\">\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 10pt; color: black; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">isim@domain.com<\/span><\/p>\n            <\/td>\n            <td valign=\"top\" width=\"109\" style=\"border-style: none solid solid none; border-color: rgb(240, 240, 240) windowtext windowtext rgb(240, 240, 240); border-width: medium 1pt 1pt medium; padding: 0cm 3.5pt; background: rgb(216, 216, 216) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 82pt; height: 45pt;\">\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 10pt; color: black; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">Ge&ccedil;erli bir E-Posta<\/span><\/p>\n            <\/td>\n        <\/tr>\n        <tr style=\"height: 30pt;\">\n            <td valign=\"top\" width=\"99\" style=\"border-style: none solid solid; border-color: rgb(240, 240, 240) windowtext windowtext; border-width: medium 1pt 1pt; padding: 0cm 3.5pt; background: rgb(242, 242, 242) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 74pt; height: 30pt;\">\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 10pt; color: black; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">Negatif Olamayan Sayi<\/span><\/p>\n            <\/td>\n            <td valign=\"top\" width=\"239\" style=\"border-style: none solid solid none; border-color: rgb(240, 240, 240) windowtext windowtext rgb(240, 240, 240); border-width: medium 1pt 1pt medium; padding: 0cm 3.5pt; background: rgb(242, 242, 242) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 179pt; height: 30pt;\">\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 10pt; color: black; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">^\\d+$<\/span><\/p>\n            <\/td>\n            <td valign=\"top\" width=\"129\" style=\"border-style: none solid solid none; border-color: rgb(240, 240, 240) windowtext windowtext rgb(240, 240, 240); border-width: medium 1pt 1pt medium; padding: 0cm 3.5pt; background: rgb(242, 242, 242) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 97pt; height: 30pt;\">\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 10pt; color: black; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">0<br \/>\n            986<\/span><\/p>\n            <\/td>\n            <td valign=\"top\" width=\"109\" style=\"border-style: none solid solid none; border-color: rgb(240, 240, 240) windowtext windowtext rgb(240, 240, 240); border-width: medium 1pt 1pt medium; padding: 0cm 3.5pt; background: rgb(242, 242, 242) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 82pt; height: 30pt;\">\n            <p class=\"MsoNormal\" style=\"margin: 0cm 0cm 0pt; line-height: normal;\"><span style=\"font-size: 10pt; color: black; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">0 ve 0 dan b&uuml;y&uuml;k sayi<\/span><\/p>\n            <\/td>\n        <\/tr>\n    <\/tbody>\n<\/table>\n<p class=\"MsoNormal\" style=\"margin: 0cm 0cm 10pt;\"><span style=\"font-size: 10pt; line-height: 115%; font-family: &quot;Segoe UI&quot;,&quot;sans-serif&quot;;\">&nbsp;<\/span><\/p>","protected":false},"excerpt":{"rendered":"<p>Sayfamizda kullandigimiz input kontroller i&#231;ine yazilmis olan bilgilerin istedigimiz formata uygun olup olmadigini kontrol etmek i&#231;in RegularExpressionValidator kontrol&#252;n&#252; kullaniriz. Visual Studio\u2019da Toolbox i&#231;inde Validation men&#252;s&#252; altinda bulabilecegimiz bu kontrol bizi bir &#231;ok dertten kurtaracak<\/p>\n","protected":false},"author":517,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[407],"tags":[6016,5636,4285,5230,6335,6365,6227,5786,5034,4490,4290,6114],"_links":{"self":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts\/83"}],"collection":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/users\/517"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/comments?post=83"}],"version-history":[{"count":0,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/posts\/83\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/media?parent=83"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/categories?post=83"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yazilimmutfagi.com\/index.php\/wp-json\/wp\/v2\/tags?post=83"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}