[$ countsplit-3]. ".". $ splitresult [$ countsplit-2]. ".". $ splitresult [$ countsplit-1];} Else {$ Matchesurl = "". $ splitresult [$ countsplit-2]. ".". $ splitresult [$ countsplit-1];}$ Matchesurl = ltrim ("$ matchesurl ",".");
When $ host = "www.abc.com"; the above code is correct, you can get abc.com
When $ host = "www.abc.com.cn", the above code can also get abc.com.cn
However, when $ host = "www.abc.cn";, the above code does not get abc.cn correctly, but does get www.abc.cn by mistake
numbers and English:2. Only numbers can be entered:3. Only full-width input:4. Only the Chinese characters can be entered:5. Email Address verification:var Regu = "^ (([0-9a-za-z]+) | ( [0-9a-za-z]+[_.0-9a-za-z-]*[0-9a-za-z]+) @ ([a-za-z0-9-]+[.]) + ([a-za-z]{2}|net|net|com|com|gov|gov|mil|mil|org|org|edu|edu|int|int) $ "var re = new RegExp (Regu);if (S.search (re)! =-1) {return true;} else {Window.alert (
1. Enter only numbers and English:Onbeforepaste= "Clipboarddata.setdata (' text ', Clipboarddata.getdata (' text '). Replace (/[^\d]/g, ')"Id= "Text1" name= "Text1" >2. Only numbers can be entered:Onbeforepaste= "Clipboarddata.setdata (' text ', Clipboarddata.getdata (' text '). Replace (/[^\d]/g, ')"Id= "Text2" name= "Text2" >3. Only full-width input:Onbeforepaste= "Clipboarddata.setdata (' text ', Clipboarddata.getdata (' text '). Replace (/[^\?-\?] /g, ")"Id= "Text3" name= "Text3" >4. Only th
1. Enter only numbers and English:2. Only numbers can be entered:3. Only full-width input:4. Only the Chinese characters can be entered:5. Email Address verification:var Regu = "^ (([0-9a-za-z]+) | ( [0-9a-za-z]+[_.0-9a-za-z-]*[0-9a-za-z]+) @ ([a-za-z0-9-]+[.]) + ([a-za-z]{2}|net|net|com|com|gov|gov|mil|mil|org|org|edu|edu|int|int) $ "var re = new RegExp (Regu);if (S.search (re)! =-1) {return true;} else {W
Require.js+backbone using R.js in-place with production environment one-click Compression implementation time:2017-07-03 17:18:11 Read:210 Comments:0 Favorites:0 [Point I collection +] Tags: fonts mil bin Mat file configuration folder ODI frame returnRequie.js and Backbone.js here will not say, can go to see the official documents, are very specific!However, the use of require.js default with the compression mode is not very convenient, so this arti
Ventilation notebook, the most impressive may be the "Mr and Mrs Smith" in the Panasonic products, basically other brands are rarely involved in such products. Now, Dell has also decided to enter the field, launching the latitude rugged Extreme professional ventilation notebook (also with a 14-inch model) to support U.S. military specifications mil-std-810g, mil-std-461f and ansi/ isa.12.12.01, the protecti
Ctrl+end tune to 0.
Q switch mm and mil
Ctrl+q/////o+b "Separately according to the" British metric system Switch-----"8 detailed said"
0805 stands for length 80mil width 50mil of which 1mil=10 minus three square inches, 1 inches =25.40mmThat's 0805 of the length is about 2.0MM and the width is about 1.27MM.
V+f display of all PCB components
Top overlay Layer (note), similar to the wiring inside the pad
"Align": check-right-click-align-align bottom
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.