search in notepad

hi i create notepad program put i need know how i can fine text in textarea
[89 byte] By [islamarabsofta] at [2007-11-26 13:56:54]
# 1
String.indexOf() or Pattern and Matcher.find().
sabre150a at 2007-7-8 1:36:42 > top of Java-index,Java Essentials,Java Programming...
# 2
I am not sure exactly what you mean by find text. I am guessing you need to search through a String? Look up Pattern in the API.Otherwise you need to be more specific in your question or I would suggest you look at the API and/or tutorials.
zadoka at 2007-7-8 1:36:42 > top of Java-index,Java Essentials,Java Programming...