Today, I am browsing the frequently used topology (. NET does not exist,. Net please refer to msdn ).
The following documents are provided:
Jquery: Jquery 1.4.1 references. CHM
Javascript: Javascript user manual. CHM
Html: Html4 reference manual. CHM
HTML5 reference manual. CHM
CSS: CSS 2.0 Chinese manual. CHM
CSS 3.3 Chinese manual. CHM
PHP: Php5.3 reference manual. CHM
MySQL: Mysql5.1 reference manual. CHM
Regular
Copy Code code as follows:
Regular expressions
Ereg Case Sensitive
if (Ereg ([A-z]{3,}), AAA)) {
echo "uppercase can match!" }else{
echo "No";
}
if (Ereg ([A-z]{3,}), AAA)) {
echo "Yes";
}else{
echo "Lowercase does not match!" }
Eregi is case insensitive
if (eregi ([A-z]{3,}), Aaaa)) {
echo "can match the case!";
}
Returns a matching value
if (Ereg ("^ (0[0-9]{2,3})-([0-9]{7,8})", "0592-5337138", $regs)) {
echo "Returns the value
The following example program is a PHP regular expression program that correctly matches UTF8 or gbk Chinese. it can accurately identify Chinese characters in different encoding conditions. The PHP example code is as follows :? Php $ actionnbsp... the following example program is a PHP regular expression program that c
Advanced | skills | regular
ObjectiveRegular Expressions (regular expression, the following is called by re to the younger brother has always been a god-dense zone, see some of the network on the big, simple with re on the decision to solve some of the problems of the text, the younger brother will rise to learn the idea of re, but the younger brother is naturall
The following regular expression that matches a Chinese string is an array that is used to print all Chinese strings for multiple times. The following regular expression that matches a Chinese string is an array that is used to print all Chinese strings for multiple times.
Script ec (2); script
The Code i
PrefaceRegular Expressions (a regular expression, which is called "re" below) has always been a secret zone for younger brother. As you can see, some of the network's big data has solved some text problems simply by using "re, the younger brother was born with the idea of learning a new student, but the younger brother was naturally a little lazy and always wanted to see if there were any fast learning meth
Regular expression (regular expression) "meta character":
* matches the previous content 0 or more times, that is, the previous content any match
. Matching content 0 times 1 or more times, but does not include carriage return wrapping
+ 1 or more times (except empty) that match the previous content.
| Select match
: This article mainly introduces repeated items caused by regular expression matching. if you are interested in the PHP Tutorial, please refer to it. I encountered such a situation to match, but each time I matched the beginning of the repeat:
$ File = 'push_1113_20150105000052430.txt '; $ file2 = 'confirm_push_1114_20150105000052430.txt'; preg_match ('/^ (get
The characters you need to escape in the PHP tutorial regular expressions are:
$^* () +={}[]|/:
Note: The Perl-style expression requires a/start and end, such as:/food/table-matching characters food
The Perl modifiers are as follows:
I completes a case-insensitive searchG Find all occurrences (all occurrences, complete global search)M treats a string as multi
123 456789Ten One A - - the + A theThe above code is just a simple regular use, JS Verify that this piece is enough to use.Rookie Tutorial Regular address: https://c.runoob.com/front-end/854.It is recommended to use novice tutorials (http://www.runoob.com/), which is a good site for beginners to enter the code world.Actually do what things are the same, the cod
Regular expressions
Some good learning resources:
Microsoft MSDN
Java
Http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html
Others
Http://developer.51cto.com/art/200912/166310.htm
http://luolei.org/2013/09/regula-expression-simple-tutorial/
http://net.tutsplus.com/tutorials/php/regular-expressions-for
Introduction:
Regular expressions are often used in various programs dealing with text processing. Mastery of regular expressions is a basic skill. This paper mainly describes the principle and application of regular expressions, and gives detailed examples for situational learning, whether using VIM, sed,awk,grep and other programs, can find help in this article
PHP tutorial Full-width Half-angle Regular expression code
$keyword = ' destroy ';////When the value is broken, it can be connected with a hyperlink.$keyword = ' dermis ';/////When the cortex is on, it can't match and join.
$url = ' www.111cn.net;
$content = ' laser beams penetrate the epidermis and dermis, destroying pigment cells and pigment particles ';
$c
FreeBSD file module BEGIN Regular Expression Denial of Service Vulnerability
Release date:Updated on:
Affected Systems:FreeBSDDescription:--------------------------------------------------------------------------------CVE (CAN) ID: CVE-2013-7345FreeBSD is a UNIX operating system and an important branch of Unix developed from BSD, javasbsd, and 4.4BSD. The file (1) utility can test the classification of file
PHP regular expression filtering
$ Txt = "Programmer's house _ bbs.it-home.org ";
$ Pattern = '//';
$ Str = "replacing with blank ";
$ Txt = preg_replace ($ pattern, $ str, $ txt );
$ Str = preg_replace ('~~ S ', '', $ str); // $ str is the content of the article to be filtered.
?>
The above is the content of this ph
I encountered this situation to match, but each time I matched to the beginning of the repetition:
$file = ' Push_1113_20150105000052430.txt '; $file 2 = ' confirm_push_1114_20150105000052430.txt ';p reg_match ('/^ (get| push|admin). *.txt/', $file, $rs);p reg_match ('/^confirm.*.txt/', $file 2, $rs 2); Echo ' The result of is: array ([0] = push_1113_20150105000052430.txt [1] = = Push) array ([0] = confirm_push_1114_20150105000052430.txt) You can see that the first result has a duplic
This example needs to verify the content: E-mail address, URL address, telephone number, ZIP code, verification method for everyone to share for reference, the specific content as follows
1. Verification of e-mail address
2, the URL address of the check
3. Telephone number
4, the verification of the ZIP code
I hope this article will help you learn PHP programming.
The above describes the PHP regular
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.