
How to Delete Specific Text Lines with Find Feature in EmEditor - A Comprehensive Guide

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:
- [Updated] Capture the Big One Best Fishing Camers Ranked for 2024
- [Updated] In 2024, Fix Chromium and YouTube Streams
- 1. The Ultimate List of Top Partition Recovery Software for Quick Fixes
- 6 Reasons for Vigilance when Dealing with Automated Systems
- 如何有效地在Windows 11系统中保存和撤销数据
- Breaking Free From Obsolete Systems: Solve Your Windows 10 Version Upgrade Dilemma (Windows 10 21H2)
- Discover the Ultimate List of Affordable Screen Capture Tools for Entry-Level PCs - Movavi Edition
- Guida Passo-Passo Alla Creazione Di Un Backup Immagina Sistema Sui Computer Dell Con Windows 10/11
- How To Change Your Apple ID Password On your iPhone 13 Pro | Dr.fone
- How to Recover Deleted Pages in Microsoft OneNote - Step-by-Step Guide
- In 2024, Streamlining Color Grading Incorenasive Guide to LUT Integration in OBS
- Navigating Google Meet's Virtual Whiteboards Across Apple/Android & Laptops for 2024
- Troubleshoot iPhone AirDrop Restrictions: Bypassing 'Contacts Only' Mode with Proven Fixes
- Why Does My Honor Play 8T Keep Turning Off By Itself? 6 Fixes Are Here | Dr.fone
- Why Relying on AI-Generated Codes Is a No-Go for Legitimate Windows 11 Software Licenses
- Title: How to Delete Specific Text Lines with Find Feature in EmEditor - A Comprehensive Guide
- Author: Larry
- Created at : 2025-03-03 16:31:36
- Updated at : 2025-03-07 16:21:51
- 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.