![How to Delete Specific Text Lines with Find Feature in EmEditor - A Comprehensive Guide](https://thmb.techidaily.com/b7ec02702d51d57959e5bd1248adaf8d9c4e1536be03bd52fccab5d6aa482430.jpg)
How to Delete Specific Text Lines with Find Feature in EmEditor - A Comprehensive Guide
![](/images/site-logo.png)
How to Delete Specific Text Lines with Find Feature in EmEditor - A Comprehensive Guide
Viewing 2 posts - 1 through 2 (of 2 total)
- Author
Posts - December 14, 2006 at 3:38 pm #4057
abgibbs
Member
Hello all,
Fist off — great editor! Best I’ve ever used, by a long shot.
I need to remove all lines beginning with “IF EXISTS” from a couple thousand .SQL files, but I’m confused on how the “find in files” box handles regex.
I *should* use:
Find: IFs{1}EXISTS.+n
replace:
However, it doesn’t find any matches when I do this. if I remove the n from the “find” regex it finds all the corret matches but doesn’t include the CRLF at the end of the line. I want to remove the entire line, including the CRLF. Is there something weird about how the “find in files” handles end-of-line characters?
Thanks!
December 15, 2006 at 3:27 am #4062Yutaka Emura
Keymaster
The regular expression is correct if the Keep Modified Files Open is on. However, if the Keep Modified Files Open is off, you must use /r/n for a new line. So the regular expression should be
IFs{1}EXISTS.+rn
(if the Keep Modified Files Open is off in the Replace in Files dialog box).
See Also How to Specify New Lines - Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Also read:
- [New] Channel Charisma Techniques for Amplifying YouTube Visibility for 2024
- [New] In 2024, Smart Shopping Guide to Best 5K Screens #8
- [Updated] Future Filmmaking Favorites 2024'S Best Cameras
- [Updated] Master Fades with Ease 4 Methods Unveiled for 2024
- [Updated] Navigating YouTube Cards and Tags
- 運用 Windows 11 / 10 / 8 / 7: 兩種全新方式自動資料同步 - 技術指南 (2 種新型態的解決法)
- Effective Techniques for Virtual Machine Replication Using Hyper-V's Import/Export Features
- Erfolgreich Verlorene Dokumente Wiederherstellen Auf Einem PC Mit Windows 10
- Guide Simple : Tout Savoir Pour Restaurer Les Documents De Microsoft Office Perdus Sans Frais !
- How to Resolve iTunes Update 1 Issue During iOS Device Restoration
- In 2024, How to Turn Off Google Location to Stop Tracking You on Vivo Y55s 5G (2023) | Dr.fone
- In 2024, Ultimate Guide to Catch the Regional-Located Pokemon For Motorola Edge 40 Neo | Dr.fone
- Migrating Your Data: Seamless Transition Between Two Surface Pro Devices
- Revamp Your Computer Experience: Four Advantages in Corsair’s iCUE Link
- Step-by-Step Tutorial on Retrieving Data From Silicon Power External Memory Sticks
- Step-by-Step Tutorial: Clearing Out Everything From Your PC Using Two Techniques
- Tecniche Essenziali per L'ottimizzazione Del Backup E-Mail: Un Guida Completa
- Unleash Endless Prosperity with 'Dragon's Riches': A Complete Guide for PC
- Unova Stone Pokémon Go Evolution List and How Catch Them For Google Pixel 8 Pro | Dr.fone
- Title: How to Delete Specific Text Lines with Find Feature in EmEditor - A Comprehensive Guide
- Author: Larry
- Created at : 2025-02-06 00:45:03
- Updated at : 2025-02-09 01:53:32
- Link: https://win-bits.techidaily.com/how-to-delete-specific-text-lines-with-find-feature-in-emeditor-a-comprehensive-guide/
- License: This work is licensed under CC BY-NC-SA 4.0.