I have a request please, I am usng regular expression on notepad and i have my database and it contains lines like
test1 - Level : 12 - Role : Healer
test2 - Level : 30 - Role : Healer
test3 - Level : 35 - Role : Healer
test3 - Level : 162 - Role : Healer
I want it to remove any lines whose level <30 so the output should be
test2 - Level : 30 - Role : Healer
test3 - Level : 35 - Role : Healer
test3 - Level : 162 - Role : Healer
Thanks in advance
CodePudding user response:
You may try the following find and replace in regex mode:
Find: ^.*Level : [12]?[0-9]\b.*\R?
Replace: (empty)
Here is a demo showing that the logic is working.