By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,372 Members | 1,950 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,372 IT Pros & Developers. It's quick & easy.

find something in a text

P: 10
Dear Readers,

The word "hide" appeares in a text several times. I want find one of them and then before it I want ot find the nearest unangle bracketed area to it (so an area without angle brackets). (This is an html code that I have to process. This is the reason for the angle brackets.)
Thank you for you answer in advance.

Gábor Szepes

ps: if something is not clear ask me
Aug 4 '08 #1
Share this Question
Share on Google+
1 Reply


eWish
Expert 100+
P: 971
Have a look at CPAN for an HTML Parser. Coding this yourself will not be the best option.

--Kevin
Aug 4 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.