]*)) $Non-positive floating-point number (negative floating point + 0) ^ ((-\d+ (\.\d+)?) | (0+ (\.0+)?)) $Negative floating-point number ^ (-([0-9]+\.[ 0-9]*[1-9][0-9]*) | ([0-9]*[1-9][0-9]*\. [0-9]+) | ([0-9]*[1-9][0-9]*))) $Floating point ^ (-?\d+) (\.\d+)? $XxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxThe following untested, please verify after use1. 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
: Link: it is also a common Seo command used to search for reverse connections to a URL, that is, including internal website training and external Website connections.
9: linkdomain: The command is only used for Yahoo. The returned result is a reverse connection of a domain name.
10: related: the command is only used for Google. The returned result is a page related to a website.
For example, search for related: dunsh.org. We can get other pages that Google considers to be related to dianshi.
= "". $ splitresult [$ 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 w
[$ 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
Header (P3P: CP = "cao dsp cor cur adm dev tai psa psd IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi ind phy onl uni pur fin com nav int dem cnt sta pol hea pre gov" ); // p3pSetcookie ("TestCookie", "test", time () + 3600, "/", ".readlog.cn"); // Set cookie?>Put another readcookie. php content:
PHP code
Echo $ _ COOKIE ["TestCookie"];?>Then place setcookie. php under diaor.com. content:
JavaScript codeThen access the http://www.diaor.com/s
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
-digit number! ',' The username must be 3-15 characters long! ',' Domain name format error! ',' This user name has been registered! ',' This email address has been registered! ']Var ErrorClass = ['msg _ OK ', 'msg _ warning', 'msg _ warning', 'msg _ error', 'msg _ warning', 'msg _ error ', 'msg _ warning', 'msg _ warning', 'msg _ error ', 'msg _ error ', 'msg _ error'](3) I started to write various verification types. I wrote all the information I could think...Copy codeThe Code is as follows:;
ID number should be x if (Idcardmod==2) { if (Idcardlast= = "X" | | idcardlast== "X") {return true; }else{return false; }}else{//Use the computed verification code to match the last identity card number, if it is consistent, the description passes, otherwise it is an invalid ID number if (idcardlast==idcardy[idcardmod]) { return true; }else{return false; }}}}else{return false; } }Digitalfunction Isnumber (string,info) { var number; if (string==null
matching method #-*-coding:utf-8-*- Import Exrex def dic_create (hosts): Web_dics = Hosts.split ('. ') for web_dic in web_dics: nbsp; F_pass = open (' Pass.txt ', "R") For Dic_pass in F_pass: nbsp dics = List (exrex.generate (web_dic+ ' [[emailprotected]#] ' +dic_pass) for dic in dics: NB sp; print dic.strip (' \ n ') If __name__ = = ' __main__ ': dic_create (' Www.ichunqiu.com ') This makes it easy to create a dictionary generator.The
the automatic connection to the. cn suffix. So can we expand IE's Auto matching function so that it automatically matches the suffix ". gov", ". Net", ". com.cn"? The answer is yes, we just start Windows 98 Registry Editor and expand the Hkey_local_machinesoftwaremicrosoftinternet explorermainurltemplate branch in turn, Then you can see 6 names "1", "2" ... "6" string values under the Urltemplate branch, whose key values are "www.%s.com", "%s.com", "
articles and other occasions, with these two buttons to help you modify, repeat send, saving you online time. These two buttons can not only access the front and back pages, but also quickly reach a page: in the browser "Rewind" button, there is a button, press it to pop a drop-down menu, which lists a number of URLs, select a can quickly reach the desired page. It also has the same function when moving forward.
26, enhance the automatic matching function
The IE automatic matching function is
This is starting from yesterday, a small survey, starting from yesterday, I decided to observe and analyze the Internet hot phenomenon every day, and then communicate with you to discuss.
So yesterday I randomly checked Baidu keyword rising fastest in the second runner-up, respectively, "Feng Yu chess" "Personal Secret" "Wang Kunshan".
Here is a brief analysis:
Feng Yu Chess:
1 actress Wang Xuebing's ex-wife, the search may come from another hot spot, namely Wang Xuebing and Fan Bingbing's love
be set.
Look below Mainactivity.java:
Java code
/** * @author Himi *@ Input Method gesture Recognition *@ Note: Android.gesture This class in Api-4 (SDK1.6) only began to support!
*@ Reminder: Default to the SD card, so don't forget to add SD card read and Write permission in Androidmainfest.xml! * * Public class Mainactivity extends activity {Private Gestureoverlayview gov;//create a handwriting plot area private gesture Gestu
re;//Hand
length not exceeding 50 bits!" ', ' The name is within 10 Chinese! ', ' The mobile number is 11 digits! ', ' postcode is 6 digits! ', ' the username is between 3-15 bits! ', ' The domain name format is wrong! ', ' The user name has been registered! ', ' The mailbox has been registered! ']
var errorclass = [' Msg_ok ', ' msg_warning ', ' msg_warning ', ' msg_error ', ' msg_warning ', ' msg_error ', ' msg_warning ', ' msg_ ' Warning ', ' msg_error ', ' msg_error ', ' msg_error ', ' msg_error ',
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.