how to Search the ListBox and del listbox all txt other than found txt and 3 lin below it in vb.net ?
ex

listboxbox contain txt from a file

http://www.yahpoo.com/

http://www.yahpoo1.com/
com
com

www.yahoo
yahoo1
yahoo3
yahoo

http://www.yahoo1.com/
http://www.yahpoo1.com/

after button Click listbox shold contain

www.yahoo
yahoo1
yahoo3
yahoo

www.yahoo and lin below that.

buddy your question is vague along with your other questions, i can't figure out what you want.
Please Read this Link

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.