Editor pairs Posted March 11, 2013 Editor Share Posted March 11, 2013 (edited) S.a arkadaşlar Regex nedir die burada anlatım yapmayacagım gerekli bilgiye netteki dökümanlardan ulaşabilirsiniz.Kısaca bahsedecek olursak meslea bir html dosyasını çektiniz netten içinden sadece likler sadece tarihler sadece mailler gibi regex türlerine göre veri çekebilirsiniz.Kendi regex deseninizide oluşturabilirsiniz.Ben bu örnekte sadece mailleri çeken bir regex desenini göstereceğim vede ams de nasıl kullanılır onu göstereceğim. email="mailadresiniz" if (email:match("[a-z][@][a-z]?")) then Dialog.Message("",email .. " adresi bulundu.") end burada arkadaşlar içinde arama yapacagım yazıyı yazdım. if koşulu ile içinde regex i arattım.Burada [a-z] demek ilk değeri a ile z arasında olacak sonraki değer @ işaretini alacak ve ondan sonraki değer yine harf içerecek ? işareti ise kelimenin sonu demek.Bu kodu örnek projenizde çalıştırdınız zaman size maill adresini gösterecektir. Edited March 11, 2013 by pairs Quote Link to comment Share on other sites More sharing options...
fba44 Posted March 23, 2013 Share Posted March 23, 2013 hani link nerede Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted April 25, 2013 Author Editor Share Posted April 25, 2013 Linkmi Quote Link to comment Share on other sites More sharing options...
superhalit Posted April 25, 2013 Share Posted April 25, 2013 ne linki be kardeşim :D adam regex hakkında bilgi veriyor hala anlamadın mı ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.