See? We keep telling you to use a parser for this ... you keep refusing and you keep coming back with quetions. Next you'll be wanting to do something to <b> and <i> tags. :)

In Regexp conundrum you specify that you want to "remove letter-spacing and word-spacing attributes from my in-document style sheet." Sounds like you should specify a second style sheet that looks the way you want it to. If this is your site ... problem solved, if not, then you could use regular expressions to change to a different CSS file. I would use HTML::TokeParser::Simple. If this is not your site and the CSS is all inline ... then maybe you could simply "turn off "CSS. There are so many potential solutions ... this is why you should be very descriptive in what you are doing and why you are doing it.

In Re: Problems Trying to Send E-Mail and Insert into Database, you say that "I've managed to extract image tags and re-write the changes, so I'm heading in the right direction..." No. You've been going the wrong direction ever since. :(

In CPAN module download probs..., you do good! You tried to install a CPAN module, but it didn't work. More than likely, you tried to install a tar ball (which is for Unix) on a Windows box. Since you are using Activestate, you should be using PPM. barbie gave you a clue about this at Re: CPAN module download probs..., did you see this after you posted Re: CPAN module download probs...?

Ok, enough tracking. ;) Where am i going with all of this? It is time for you to learn how to install PPM's. Me? I have never done it. I use Linux. But, if you invest as much energy into getting PPM's to work on your computer as you have trying to take down windmills with a lance (parsing HTML with regular expressions), you will succeed. And then you will have a nice set of modules to help you with this task.

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

In reply to Re: Removing underline tags with regexp by jeffa
in thread Removing underline tags with regexp by Tricky

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.