A sample code with line numbers:
01<!DOCTYPE html>
02<html>
03<head>
04 <meta http-equiv="X-UA-Compatible" content="IE=edge">
05 <meta charset="utf-8">
06 <title>Hello App!</title>
07 <script>
To remove the numbers in each line of code, do the following:
- Copy the code into notepad++
- Type Ctrl + H
- Under Search Mode choose Regular Expression.
- In Find What :Enter ^\d+
- Leave the Replace with: as blank
- Now click Replace All
Now the code looks like:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<title>Hello App!</title>
<script>
No comments:
Post a Comment