in reply to Re: arrays and hash tables
in thread replacing text in specific tags

hi,

I have a ascii text file with the following text

Aaaa <xx>BBBBB</xx> Ccccc

Bbbb <xx>CCCCC</xx> Ddddd

i need to just change the text between <xx> tag to lowercase.

Please help me.

Replies are listed 'Best First'.
Re: Change case
by CombatSquirrel (Hermit) on Nov 26, 2003 at 23:33 UTC
    I am really sorry to say this, but have you even bothered to get and look into Jeffrey Friedl's Mastering Regular Expressions? You have asked a lot of similar questions along the lines of "I want to do this, please tell me how to do it".
    The Monastery is a place for you to learn something by looking at the answers of specific questions, but is by no means a substitute for a good Perl/RegEx book or a tutorial. Browse through the Tutorials section. Have a look at the book reviews. And consider starting a new thread when you are asking a question that is not related to the thread you are replying to, especially if you are replying to a post that is already 56 days old.
    Sorry if this was a bit harsh, but this is how I feel and I suppose I should at least inform you about it.
    Have a nice day.
    Cheers,
    CombatSquirrel.
    Entropy is the tendency of everything going to hell.