There is always a number in front of the code that is copied from the Internet or where to remove it (original)

Source: Internet
Author: User

From the online or where the code copied down there is always a number, how to remove it, the Internet has said that the process of too much trouble, so, I found the following two ways, share a bit ~

1. Use Regular Expressions:
In Editorplus (notepad++), press ctrl+h, the pop-up box tick "regular expression (regular expression)" and
In the first box, write a ^[0-9]*.
In the second box, tap a space.

2. This is unique to notepad++, and Editorplus has no
Copy the code in, press and hold Ctrl+alt while, hold down the left mouse button, will need to intercept the code part, copying, paste can

There is always a number in front of the code that is copied from the Internet or where to remove it (original)

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.