I want to delete all line exept the ones that begins with ç .
Example
Original text:
El lapso que, según la regla anterior, debiera cumplirse en un dÃa de que carezca el mes, se entenderá vencido el último de ese mes.
çLos lapsos de dÃas u horas se contarán desde el dÃa u hora siguiente a los en que se ha verificado el acto que da lugar al lapso.
Los dÃas se entenderán de veinticuatro horas, los cuales terminarán a las çen las obligaciones y demás actos, cuando las partes que en ellos
Edited text
çLos lapsos de dÃas u horas se contarán desde el dÃa u hora siguiente a
çen las obligaciones y demás actos, cuando las partes que en ellos
I need to conserve all the lines beginig with ç
THANKS
Deleting lines
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
Can you provide a better explanation of a "line"?
The sample of desired result does not appear to include the full "line" in the first instance. And the second instance seems to begin in the middle of a "line" What defines the beginning and and of a line?
Or do you want the first n characters that follow the "ç" ?
Or do you want from "ç" to the end of a sentence? Does a sentence always end with "." ?
Can you make sure the before and after samples show actual "line" ends properly if the browser window is narrowed or made wider.
The sample of desired result does not appear to include the full "line" in the first instance. And the second instance seems to begin in the middle of a "line" What defines the beginning and and of a line?
Or do you want the first n characters that follow the "ç" ?
Or do you want from "ç" to the end of a sentence? Does a sentence always end with "." ?
Can you make sure the before and after samples show actual "line" ends properly if the browser window is narrowed or made wider.
Hope this was helpful.............good luck,
Bob
Bob
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
Indeed.
If the original text were actuallythen
If the original text were actually
Code: Select all
El lapso que, según la regla anterior, debiera cumplirse en un dÃa de que
carezca el mes, se entenderá vencido el último de ese mes.
çLos lapsos de dÃas u horas se contarán desde el dÃa u hora siguiente a
los en que se ha verificado el acto que da lugar al lapso.
Los dÃas se entenderán de veinticuatro horas, los cuales terminarán a las
çen las obligaciones y demás actos, cuando las partes que en ellos
would produce the output you describe.Find what: ^[^ç].*\n
Replace with: [nothing]
[X] Regular expression
Replace All