in reply to RegEx/tr Help

you've seriously misconstrued tr's functionality. As a simple overview, tr takes 2 character lists, and replaces characters found in the first list with characters found on the second list. There's a lot more to it, but that's the basic operation.

What you may wish to try is using the match operator (m//) with the s switch turned on, which will allow you to match past the first newline.

Alternately, there's a bevy of html parsing and extraction modules on cpan which you may find of use as well


Update : I'm just baffled at the responses to this node. Can anyone provide a working example that tr is a possibility in this situation?

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.