Use of notepad++

Source: Internet
Author: User
\ t tab.
\ n New Line.
. matches any character.
| Matches the left and right characters of an expression. For example, "AB|BC" matches "AB" or "BC".
[] matches any single character in the list. For example, "[AB]" matches "a" or "B". "[0-9]" matches any number.
[^] matches any single character outside the list. For example, "[^ab]" matches characters other than "a" and "B". "[^0-9]" matches any non-numeric character.
* The characters on the left are matched at any time (0 or more times). For example, "be*" matches "B", "Be" or "bee".
+ its left character is matched at least once (1 or more times). For example, "be+" matches "be" or "bee" but does not match "B".
? The characters on the left are matched 0 or 1 times. For example, "be?" matches "B" or "be" but does not match "bee".
^ The expression on its right is matched at the beginning of a line. For example, "^a" matches only lines that begin with "A".
The expression on its left side is matched at the end of a line. For example, "e$" matches only lines that end with "E".
() affects the order in which the expression is matched and is used as the grouping token for the expression.
\ escape character.  If you want to use "", you should use "\". What if I want to replace aaa_123 bbb_456 ccc_789 with 123:aaa 456:bbb 789:CCC? Find ([a-z]+) (_) ([0-9]+) replaced with $3:$1

Use of notepad++

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.