【】求个正则~
1、CPU号由32位大写字母与数字组成
样式CPU:BFEBFBFF 0001067A 00000000 00000000
2、MAC地址由大写字母A到F或数字组成,
样式00:50:56:C0:00:08
http://topic.csdn.net/u/20120203/10/71d694d4-b27a-4e27-851b-13eceb7e6507.html?32753
------解决方案--------------------cpu [a-zA-Z0-9]{8}([ ][a-zA-Z0-9]{8}){3}
mac [A-Z0-9]{2}(:[A-Z0-9]{2}){5}
------解决方案--------------------CPU:[A-Z0-9]{8}([ ][A-Z0-9]{8}){3}
MAC:[A-F0-9]{2}(:[A-F0-9]{2}){5}
------解决方案--------------------CPU:[A-Z0-9]{8}( [A-Z0-9]{8}){3}
MAC:[A-F0-9]{2}(:[A-F0-9]{2}){5}
------解决方案--------------------CPU: ^([A-Z0-9]{8}\s){3}[A-Z0-9]{8}$
mac: ^[A-F0-9]{2}(:[A-F0-9]{2}){5}$
------解决方案--------------------
------解决方案--------------------
------解决方案--------------------
------解决方案--------------------:从URL地址中提取文件名的javascript程序
s="http://www.9499.net/page1.htm";
s=s.replace(/(.*/){0,}([^.]+).*/ig,"$2") ;//Page1.htm