Match for titles using regexp
On Thu, 2007-12-27 at 00:58 +0300, OOzy Pal wrote:
> more words/chars[<a href="#c_1" id="ids_1" title="Hello">2</a>]more words/chars > > How can I match for the title. In this case the word Hello using regexp? How about something like: perl -ne 's/.*title="([^"]*)".*/1/g;print' > -- > OOzy > Ubuntu-Gutsy (7.10) > -- Michael R. Head <burner@suppressingfire.org> http://picasaweb.google.com/demiri.head.wedding -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
| All times are GMT. The time now is 02:51 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.