Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   327

Notepad++ ? Marking Lines

by s3ns - 28 January, 2021 - 07:29 AM
This post is by a banned member (s3ns) - Unhide
s3ns  
Infinity
612
Posts
343
Threads
4 Years of service
#1
Anyone knows if there is a command in notepad that marks lines that contains  number higher than 100
Or lover than 100 ?
[Image: ezgif-com-gif-maker-2.gif]
This post is by a banned member (Blepop) - Unhide
Blepop  
Galactic
4.043
Posts
2.152
Threads
6 Years of service
#2
(28 January, 2021 - 07:29 AM)s3ns Wrote: Show More
Anyone knows if there is a command in notepad that marks lines that contains  number higher than 100
Or lover than 100 ?

Crtl+H = Move to Mark Tab
Tick Regex
in the Box Enter :
Code:
^(?!(?:\d{1,2}|100)$)[0-9]\d+$

CLick Mark All
 
 
This post is by a banned member (s3ns) - Unhide
s3ns  
Infinity
612
Posts
343
Threads
4 Years of service
#3
that regex code is exactly what i needed thank you <3
[Image: ezgif-com-gif-maker-2.gif]
This post is by a banned member (InfernoShop) - Unhide
1.108
Posts
302
Threads
5 Years of service
#4
Cut first 100 lines, then bookmark all lines, then paste the cut lines again?
This post is by a banned member (s3ns) - Unhide
s3ns  
Infinity
612
Posts
343
Threads
4 Years of service
#5
(28 January, 2021 - 10:44 AM)InfernoShop Wrote: Show More
Cut first 100 lines, then bookmark all lines, then paste the cut lines again?

nah. i have like 10k lines.  I need to filter lines that cntain numbers that are bigger than 100 in them. 
and numbers that are lover than 100
[Image: ezgif-com-gif-maker-2.gif]

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)