• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Jace William
Greenhorn
Posts: 1
  • 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
Posts: 48381
56
  • 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