Thread: Regex examples
View Single Post
Old 05-20-2020, 10:00 AM   #639
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,167
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by estevam View Post
Hi!

I have 200 ".xhtml" files inside an epub and I need to delete the line 14 of each one of them.

Is it possible to do this with Regex?
REGEX is about Patterns, not line numbers.

The simplest is select by the text and replace with 'x' ('x' can be nil )
Can you post the offending line?
Is it always the same? If not, what part is different?
theducks is offline   Reply With Quote