Loading ...
Sorry, an error occurred while loading the content.

4557Re: [edit+] convert HTML to xhtml?

Expand Messages
  • Aleem Juma
    Apr 7 3:29 PM
    • 0 Attachment
      How about

      \<[^\?][^<>]*\>

      just a thought off the top of my head to prevent trapping a "<?" -
      entirely untested thought


      On 07/04/06, Toft Stade <toftstade@...> wrote:
      > Thank you very much Jason, that worked really well!
      >
      > Now I just need to modify the regexp so that it doesn't change asp/php/ror
      > inline code...
      >
      > /toft
      >
      > -----Original Message-----
      > From: editplus@yahoogroups.com [mailto:editplus@yahoogroups.com] On Behalf
      > Of Jason Kleinberg
      > Sent: den 7 april 2006 14:18
      > To: editplus@yahoogroups.com
      > Subject: Re: [edit+] convert HTML to xhtml?
      >
      > do a regex search for
      > \<[^<>]*\>
      >
      > Click Find. Then press Ctrl-L (Edit->Change Case->Lower Case). Then you
      > can just repeat F3 and Ctrl-L. You could also make a macro that does this,
      > and then spam that macro until your document is converted.
      >
      > (I just tested this method on a random HTML document, and it works quite
      > well.)
      >
      > I hope that this was helpful.
      >
      > On 4/7/06, DZ-Jay <dz@...> wrote:
      > >
      > >
      > > On Apr 7, 2006, at 05:38, Toft Stade wrote:
      > >
      > > > Hi, does anyone have a suggestion for a tool, regexp in editplus or
      > > > anything that can help me convert HTML 3.2/4.x to xhtml?
      > > >
      > > > Something that will just lowercase everything inside "<" and ">"
      > > > will do fine - I can change the rest by myself.
      > >
      > > In the Preferences|General section, there's an option to use
      > > lower-case HTML. I've never used it, but it sounds like it could help
      > you.
      > >
      > > dZ.
      > > --
      > > Give a man a fire, and he'll be warm for a day; but set fire to him,
      > > and he'll be warm for the rest of his life.
      > >
      > >
      > >
      > > http://www.editplus.com
      > > Yahoo! Groups Links
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      >
      >
      > [Non-text portions of this message have been removed]
      >
      >
      >
      > http://www.editplus.com
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
      >
      >
      >
      > http://www.editplus.com
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
      >
      >
    • Show all 10 messages in this topic