Editplus Regex (Regular Expressions search & replace)

Problem: Delete All Keyword “key1 key2 key3″ in Editplus
Key1 Key2 Key3
http://sub1.domain.com/
Key4 Key5 Key6
http://sub2.domain.com/
Solutions: use Tools “Editplus” function search/replace with option “Regular Expressions
1. open file in “Editplus”
2. Menu > Search > Replace (Ctrl + h)
3. Find what: ^K[^]+n
4. Replace: blank (or more)
4. checkbox Regular expressions
5. click Replace All

Result :
http://sub1.domain.com/
http://sub2.domain.com/
Trick: if do you want delete url, step 3. use ^http://[^/]+/

Ref: http://editplus.info/wiki/Regular_expression_syntax
ps: .com[^]+

Regex to negate the whole word
^(?:(?!reflexword).)+$ https://stackoverflow.com/questions/23724661/

Blog | ,
Line it!