This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I have an idea, but not enough experience to execute it

 
Jace William
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My idea; write a program that can recognize specific words/phrases on a webpage, and replace them with words/phrases given to the program. Similar to the f3 function, that can find and highlight words, but rather replace them. How would i go about creating and using this?
 
Campbell Ritchie
Sheriff
Pie
Posts: 47253
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I presume by replace you mean replace in a local copy of the website on your computer. Copying from a website is reasonably easy, but I have forgotten how to do it. Replacing words in a String of text is really easy. Look through the String class' methods.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic