PHP头条
热点:

PHP学习笔记--php教科书上关于正则表达式实例代码(摘要)


<?
        
         = '^[$][[:alpha:]_][[:alnum:]]*'(,'$_name',); 
        (); 
        
        
         = 'tm' = 'hello,tm,Tm,tM'=(,'TM',); 
         
         = 'is' = 'This is a register book.' = (,); 
        (
        
         = '/\d{3,4}-?\d{7,8}/' = ('043212345678','0431-7654321','12345678'); 
         = (,(
         = 'This is an example!' = '/\b\w{2}\b/' = (,,); 
         ."<br />"( "<br />"
         = (,, ."<br />"(
         = '!、$、^、*、+、.、[、]、\\、/、b、<、>'='b'
         = (, 
         = '[b]粗体字[/b]'
         = ('/\[b\](.*)\[\/b\]/i','<b>$1</b>', 
         c_back(
             = "<font color=[1]>[2]</font>"  = '[color=blue]字体蓝色[/color]'
         ('/\[color=(.*)\](.*)\[\/color\]/U',"c_back",
        
         = "/\s+/"; 
         = "I'm Chinese! I can eat" = (,); 
        (?>

 

www.phpzy.comtrue/php/3927.htmlTechArticlePHP学习笔记--php教科书上关于正则表达式实例代码(摘要) ? = '^[$][[:alpha:]_][[:alnum:]]*' ( ,'$_name', ); ( ); = 'tm' = 'hello,tm,Tm,tM' = ( ,'TM', ); = 'is' = 'This is a register book.' = ( , ); ( = '/\d{3,4}-?\d{7,8}/'...

相关文章

相关频道:

PHP之友评论

今天推荐