aspose file tools*
The moose likes Beginning Java and the fly likes string replac Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "string replac" Watch "string replac" New topic
Author

string replac

Allen Chan
Ranch Hand

Joined: Jun 07, 2002
Posts: 64
anyone can give me a quick dirty way to replace a substring in a (html)document recursively?
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1815
Could you provide an example of what you want to do? I'm not sure if recursively is what you want -- perhaps, repetitively?
Repetitively (replace all of the occurrances):

Recursively (It will replace everything and then check to see if the string exists, and then keep replacing until the original string is no longer found):


Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: string replac
 
Similar Threads
character representation of a blank space
Singleton in SWING
Heavy use of HTTPSession
connection problem
WA #1.....word association