
soeeom
New User
Jul 3, 2011, 10:44 PM
Post #1 of 2
(1198 views)
|
|
Randomizine lines and reoginize them
|
Can't Post
|
|
Hi all, This isn't as easy as the title sounds What I have (this is an experiment) A file containing something like the one below
rbla blabla ( bla ) bla bla = bla bla,bla ok, crazy huh, well what I'm in need of doing is randomly placing a new line after each special character. So the outcome could be:
rbla blabla ( bla ) bla bla = bla bla,bla or
rbla blabla ( bla ) bla bla = bla bla, bla and so on.. after this, i want it to be saved to it's original file. but the catch is, that next time it deals with the modified content it will rebuild it back to how it was in the very beginning, removing the new lines and putting them back to how they were originally, preventing it from being randomized twice. thanks .. i know it's allot to ask, either this or i'll be posting on freelancers
|