10-05-19, 09:06 PM
(07-05-19, 08:16 PM)%Eman% كتب : ممكن الكود بالسى شارب
PHP كود :
foreach (string s in TextBox1.Text)
{
s = Regex.Replace(s, "[أإآا]", "[أإآا]");
s = Regex.Replace(s, "[هة]", "[هة]");
s = Regex.Replace(s, "[ىي]", "[ىي]");
s = Regex.Replace(s, "[وؤ]", "[وؤ]");
txt += s;
SQL = "select * from tpl1 where Description like '%" + txt + "%'";
}
![[صورة مرفقة: p_1449wd3in1.gif]](https://1.top4top.net/p_1449wd3in1.gif)
![[صورة مرفقة: tumblr_m1vknqkfDX1qeyt27o1_500.gif]](http://30.media.tumblr.com/tumblr_m1vknqkfDX1qeyt27o1_500.gif)
