According to the mobile phone number of the location, operators we refer to Google's Libphonenumber package, Libphonenumber is used to parse, format, store and verify the phone number of Java, C + + or JavaScript class library.
Dependent jar Packs: Com.googlecode.libphonenumber (Libphonenumber, Geocoder, Prefixmapper, Carrier)
Jar Package Download Address: Http:/
Common Regular matching expressions
Regular expression--verification of mobile phone number: 13[0-9]{9}
To achieve the mobile phone number 86 or +86 before: ^ (\+86) | (86))? (\d{9}$)
The phone number and mobile
Note: No real-name mobile phone users must be in the real name before June 1, otherwise it will affect the normal use. According to the microblogging "Moonlight Blog" received a 10086 text message, said that according to the state "full customer real identity registration" requirements, in order to avoid affecting the normal use of the number, the need to carry my ID card and the
This crawler is mainly to Baidu bar in the content of various posts to crawl, and analysis of the content of the post will be the mobile phone number and email address crawled out. The main process is explained in detail in the code comments.
Test environment:
Code tested in Windows7 64bit,python 2.7 64bit (Installation mysqldb extension) and CentOS 6.5,python 2.7 (with mysqldb extension)
Environment Pre
Let's take a look at the image below.
In the hao123 interface, you only need to enter a mobile phone number, whether it is mobile, Unicom, or Telecom. You can click query to directly query the home location, and number type, such as on the Internet.
There are a lot of websites. I will take this as an example. How can
Completed a simple and useful WAP site--wap version of the mobile phone number location query
Address: Http://hikey.net/wap
With WAP-enabled mobile phone view, IE does not support
If your phone does not support WAP or if you do not want that kind of money, you can use a simulator provided by Gelon.net to see my work
Just open this address, okay?
Http://www.gelon
mobile phone Number: Must start with a number, except the number, can contain "-"The code is as follows:function Ismobil (s){var patrn=/^[+]{0,1} (d) {1,3}[]? ([-]? ((d) | []) {1,12}) +$/;if (!patrn.exec (s)) return falsereturn True}Verifying ZIP CodesThe code is as follows:function Ispostalcode (s){var patrn=/^[a-za-
//Checksum is all made up of numbersfunction IsDigit (s){var patrn=/^[0-9]{1,20}$/;if (!patrn.exec (s)) return falsereturn True}//Check login name: Only 5-20 characters beginning with a letter, with numbers, "_", "." Can be entered. The stringfunction Isregisterusername (s){var patrn=/^[a-za-z]{1} ([a-za-z0-9]|[. _]) {4,19}$/;if (!patrn.exec (s)) return falsereturn True}//Verify user name: Only 1-30 strings beginning with a letter can be enteredfunction Istruename (s){var patrn=/^[a-za-z]{1,30}$
I do not know how people celebrate the New Year, anyway, the column master is at home to sleep a day, woke up when QQ found someone to find me to a paste stick crawler source code, think of the time before practiced hand wrote a crawl Baidu post record mailbox and mobile phone number crawler, so open source share to everyone learning and reference.
Requirements Analysis:
This crawler is mainly to Baidu bar
cannot start with 0 The third part: can have the decimal place can also have no decimal, but once appears the decimal point, after at least with a number var reg =/^[+-]? (\d| [1-9]\d+] (\.\d+) $/; valid positive integer (inclusive 0):/^[+]? (\d| [1-9]\d+) $/; valid negative integer (inclusive 0):/^-(\d|[ 1-9]\d+) $/; Judge mobile phone number (simple version):
How can I display the number of messages dynamically by using the desktop App icon (similar to the QQ icon on a mobile phone )?, App icon
Apps on mobile phones, such as QQ and others, can dynamically display the number of messages on the icons (up to 99). Have you ever wondered how these effects are achieved? Can tradi
, 12}) + $ /;VaR patrn =/^ [+] {0, 1} (/d) {1, 3} []? ([-]? (/D) | []) {1, 12}) + $ /;If (! Patrn.exe C (s) return falseReturn true}
// Verify the mobile phone number. It must start with a number and can contain "-" in addition to a number.Function ismobil (s){VaR patrn =/^ [+] {0, 1} (/d) {1, 3} []? ([-]? (/D) | []) {1, 12}) + $ /;If (! Patrn.exe C (s) return fa
Preparatory work
We need to upgrade our phone's micro-credit software to at least the micro-5.0 version Oh, but I think many friends have been micro-letter 5.0 or higher version,
Solving method
1. In the phone we open the micro-mail and then click "Settings"-"My Account" as shown in the following figure.
2. Then we click on the "mobile phone number" In my account interface and then go to the next imag
Use the browser to open the phone number Query Web site, with the above steps to find the address of his call, and finally write code as follows:
code is as follows using System using System.Windows.Forms; using System.Xml; namespace Hnvote { nbsp; public partial class Mobile:form { nbsp Public Mobile () { InitializeComponent (); } private Static string[] Getmobileinfo (string
A practical PHP function code, regular expression verification of the correctness of the phone number and query phone number attribution, the following look at the function of the specific code:
View SOURCEPRINT?01
02//Mobile phone Number verification
03function checkmobilevalidity ($mobilephone) {
04$exp = "/^13[0
.
HttpClient is one of the most common networked storage tools to be explained today. Remember the first contact httpclient was two years ago, when to do a vertical search engine, the data is naturally derived from the Internet, through a crawler system from the designated site to crawl the interest of data, and then through the Lucene search engine framework to achieve a large
follows:
function Istel (s)
{
var patrn=/^[+]{0,1} (d) {1,3}[]? ([-]? (d) {1,12}) +$/;
var patrn=/^[+]{0,1} (d) {1,3}[]? ([-]? ((d) | []) {1,12}) +$/;
if (!patrn.exec (s)) return false
return True
}
Check mobile phone Number: Must start with a number, in addition to the number, can contain
This article is used to describe a method to steal others' post if you do not have your own database and want to obtain the location of your mobile phone number. The website involved in this article is just an example. It does not attempt to attack or cheat, or for any commercial purposes. It only involves technical research, so please do not use it illegally.
Check the results first.
Firs
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.