Re: Automating an atypical search & replace

Liste des GroupesRevenir à c editors 
Sujet : Re: Automating an atypical search & replace
De : rowlett (at) *nospam* access.net (Richard Owlett)
Groupes : comp.editors
Date : 14. Jul 2024, 08:51:45
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v7002j$2710$1@dont-email.me>
References : 1 2 3
User-Agent : Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4
On 07/14/2024 01:13 AM, Stan Brown wrote:
AOn Sat, 13 Jul 2024 23:39:14 -0000 (UTC), Lawrence D'Oliveiro wrote:
On Sat, 13 Jul 2024 11:08:48 -0500, Richard Owlett wrote:
>
These occurrences are consistently of the form
     <span class='add'>arbitrary_text</span>
>
I wish to delete "<span class='add'>" and *ASSOCIATED* "</span>".
>
This is beyond the abilities of regular expressions. This is the point
where you need to use an actual HTML/XML-parsing library.
>
 In general I'd agree with you. But the OP made a big deal -- in a
different thread, for some reason -- about wanting to use minimal
HTML, so I doubt very much there will be nested <span> ... </span>
sequences.
I'd compare using a minimal HTML to learning to crawl before pursuing running a marathon ;}

 Also, the OP quite rightly wanted to confirm each change before it is
made, so presumably if there are any nested sequences he will say no
to that particular edit and fix it manually.
 

Date Sujet#  Auteur
13 Jul 24 * Automating an atypical search & replace23Richard Owlett
13 Jul 24 +* Re: Automating an atypical search & replace4Janis Papanagnou
13 Jul 24 i`* Please ignore my previous post - Re: Automating an atypical search & replace3Janis Papanagnou
14 Jul 24 i `* Re: Please ignore my previous post - Re: Automating an atypical search & replace2Richard Owlett
14 Jul 24 i  `- Re: Please ignore my previous post - Re: Automating an atypical search & replace1Janis Papanagnou
13 Jul 24 +- [OT] Change text decorations in HTML (was Re: Automating an atypical search & replace)1Janis Papanagnou
14 Jul 24 +* Re: Automating an atypical search & replace4Lawrence D'Oliveiro
14 Jul 24 i+* Re: Automating an atypical search & replace2Stan Brown
14 Jul 24 ii`- Re: Automating an atypical search & replace1Richard Owlett
14 Jul 24 i`- Re: Automating an atypical search & replace1Richard Owlett
14 Jul 24 `* Re: Automating an atypical search & replace13Stan Brown
14 Jul 24  `* Re: Automating an atypical search & replace12Richard Owlett
14 Jul 24   `* Re: Automating an atypical search & replace11Lawrence D'Oliveiro
14 Jul 24    +* Re: Automating an atypical search & replace3Richard Owlett
15 Jul 24    i`* Re: Automating an atypical search & replace2Lawrence D'Oliveiro
15 Jul 24    i `- Re: Automating an atypical search & replace1Richard Owlett
15 Jul 24    `* Re: Automating an atypical search & replace7candycanearter07
15 Jul 24     `* Re: Automating an atypical search & replace6Lawrence D'Oliveiro
16 Jul 24      +* Re: Automating an atypical search & replace4Richard Owlett
16 Jul 24      i`* Re: Automating an atypical search & replace3Lawrence D'Oliveiro
16 Jul 24      i `* Re: Automating an atypical search & replace2Richard Owlett
17 Jul 24      i  `- Re: Automating an atypical search & replace1Lawrence D'Oliveiro
16 Jul 24      `- Re: Automating an atypical search & replace1candycanearter07

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal