Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

C#ÕýÔò±í´ïʽ±à³Ì£¨¶þ£©£ºRegexÀàÓ÷¨

C#ÕýÔò±í´ïʽ±à³Ì£¨¶þ£©£ºRegexÀàÓ÷¨ 
 
¶ÔÓÚÕýÔò±í´ïʽµÄÓ¦Ó㬻ù±¾ÉÏ¿ÉÒÔ·ÖΪÑéÖ¤¡¢ÌáÈ¡¡¢·Ö¸îºÍÌæ»»¡£½ö½öÀûÓÃRegexÀà¾Í¿ÉÒÔʵÏÖÑéÖ¤ºÍ¼òµ¥Ìæ»»¡£
ÀûÓÃRegexÀàʵÏÖÑéÖ¤
¾­Àú2009ÄêµÄ±¸°¸ºÍDNSÍ£Ö¹½âÎö·ç²¨Ö®ºó£¬´ó²¿·ÖµÄ´øÓз´À¡ÐÔµÄÍøÕ¾ºÍÂÛ̳¶¼¶ÔһЩÃô¸Ð´Ê½øÐÐÁ˹ýÂË£¬°üº¬ÓÐÕâÀàÃô¸Ð´ÊµÄÎÄÕÂҪôÄÚÈݱ»Ì滻Ҫô±»½ûÖ¹·¢±í£¬ÀûÓÃRegexÀà¾Í¿ÉÒÔʵÏÖÕâ¸ö¹¦ÄÜ£¬ÏÂÃæÊÇÒ»¸öÀý×Ó£º
view plaincopy to clipboardprint?
/// <summary>  
/// ¼ì²é×Ö·û´®ÖÐÊÇ·ñÓГËïȨ”Õâ¸öÃô¸Ð´Ê  
/// </summary>  
public void IsMatchDemo()  
{  
    string source = "Áõ±¸ABC¹ØÓðABcÕÅ·ÉAbcÕÔÔÆabcÖî¸ðÁÁaBCËïȨabCÖÜè¤AbC³ËàaBc²Ü²ÙÐíØü¹ù¼ÎÐè»ÎÔ¬ÉÜ";  
    Regex regex = new Regex("ËïȨ");  
    //if (Regex.IsMatch(source, "ËïȨ"))  
    //ÏÂÃæÕâ¾äºÍÉÏÃæ±»×¢Ê͵ôµÄÒ»¾ä×÷ÓõÄͬÑùµÄ  
    if (regex.IsMatch(source))  
    {  
        Console.WriteLine("×Ö·û´®Öаüº¬ÓÐÃô¸Ð´Ê:ËïȨ£¡");  
    } 
/// <summary>
/// ¼ì²é×Ö·û´®ÖÐÊÇ·ñÓГËïȨ”Õâ¸öÃô¸Ð´Ê
/// </summary>
public void IsMatchDemo()
{
    string source = "Áõ±¸ABC¹ØÓðABcÕÅ·ÉAbcÕÔÔÆabcÖî¸ðÁÁaBCËïȨabCÖÜè¤AbC³ËàaBc²Ü²ÙÐíØü¹ù¼ÎÐè»ÎÔ¬ÉÜ";
    Regex regex = new Regex("ËïȨ");
    //if (Regex.IsMatch(source, "ËïȨ"))
    //ÏÂÃæÕâ¾äºÍÉÏÃæ±»×¢Ê͵ôµÄÒ»¾ä×÷ÓõÄͬÑùµÄ
    if (regex.IsMatch(source))
    {
        Console.WriteLine("×Ö·û´®Öаüº¬ÓÐÃô¸Ð´Ê:ËïȨ£¡");
    }
 
Êä³ö½á¹û£º×Ö·û´®Öаüº¬ÓÐÃô¸Ð´Ê:ËïȨ£¡
¶ÔÓÚÉÏÃæµÄÀý×Ó£¬Èç¹ûÒª¼ì²éµÄ×Ö·û´®Öаüº¬“ËïȨ”Õâ¸ö¹Ø¼ü´Ê¾Í»áÔÚ¿ØÖÆ̨ÉÏÊä³öÌáʾ£¬µ±È»ÔÚʵ¼ÊµÄÓ¦ÓÃÖпÉÄÜÊÇ°üº¬Óб»½ûÖ¹µÄ´ÊÓïµÄÄÚÈݲ»ÔÊÐíÌá½»¶ø²»Êǽö½öÌáʾÁË¡£²»¹ýÕâÀàÇé¿öÈ


Ïà¹ØÎĵµ£º

C#ÓëFlash½»»¥

C#ÓëFlash½»»¥ £¨×ª×ÔСÀÚÔÚÏߣ©
C#ÓëFlash½»»¥
Ç°¶ÎÈÕ×Ó¹«Ë¾ÒªÇó×öÒ»¸öC#ÓëFlash½»»¥µÄ¶«Î÷£¬ÓÃÀ´C#Óë¶ÌÐÅèͨѶ½«Êý¾Ý´«µ½FlashÉÏÏÔʾÓë²Ù×÷µÄÓ¦Óá£
µÚÒ»²½C#Ìí¼Ó×é¼þ
´ò¿ªVS2005-¹¤¾ß-Ñ¡Ôñ¹¤¾ßÏäÏî-COM×é¼þ-Ñ¡ÔñShockwave Flash Object-È·¶¨
Ìí¼ÓºÃ×é¼þÍù³¡¾°ÉÏÍÏ·Å£¬Èç¹ûÌáʾע²áÐèÇó×¢²á
c# ×¢²á¿Ø¼þ-ÔÚÔËÐÐÊä ......

ÔÚc#ÖеÄÈ¡µÃsql server´æ´¢¹ý³ÌµÄoutput²ÎÊý

private void Create_Pz(string Sourcename)
        {
            string OutMsg;
            SqlParameter[] sortPara = { new SqlParameter("@ps_IsType", Pz ......

ÔÚAsp.net(C#) ÖÐʹÓà ReportViewer

a. ReportViewer¹ØÁªReport1.rdlcµÄ¼òµ¥³ÊÏÖ
b. ¶Ô´øÓб¨±í²ÎÊýµÄReport1.rdlcµÄ³ÊÏÖ
c.
ÀûÓóÌʽÉú³ÉµÄDataSet Ìî³ä±¨±í
d. µ÷Óô洢¹ý³Ì Éú³ÉDataSet Ìî³ä±¨±í
==========
¼òµ¥µÄ³ÊÏÖ
==========
1. ´ò¿ªVS2005£¬Îļþ->н¨->ÍøÕ¾ Ñ¡ÔñÓïÑÔÖÖÀࣨC#£©
2. Ôڸýâ¾ö·½°¸ÏÂ
Éè¼ÆÆäÒѾ­Éú³ÉµÄDefault.aspx ......

C# winformÓë flash as µÄ½»»¥Í¨Ñ¶

Ò»¡¢»ù±¾Ô­Àí¼°¹ý³Ì
Flashͨ¹ýExternalInterfaceÀàÓëÈÝÆ÷Ó¦ÓóÌÐò½øÐÐͨÐÅ¡£Îª´Ë£¬ExternalInterfaceÀàÌṩÁ½¸ö¾²Ì¬ÊôÐÔºÍÁ½¸ö¾²Ì¬·½·¨¡£
ExternalInterface.call(“º¯ÊýÃû”£¬[²ÎÊý…])·½·¨Ö´ÐÐÈÝÆ÷Ó¦ÓóÌÐòµÄ´úÂ룬¸Ã·½·¨ÖÁÉÙÐèÒªÒ»¸ö×Ö·û´®²ÎÊýÀ´Ö¸¶¨Òªµ÷Óõĺ¯ÊýÃû£¬ÆäËüÈκβÎÊý½«×÷Ϊ²ÎÊý±»´«µÝ¸ø± ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ