Anonymous - 2012-12-13

Hello,

Is it possible pas the editor function rereplace OR pyreplace on a local string variable ….
example:

import sys, re

mystring = "one; two  ; three   ; four        ;"
mystring.rereplace("(\s+)",";")
console.write(mystring)

output should be:
one; two; three; four;

if i use is from notepad it works wel… But how do i pass editor functions on local variables????

gr

Ismail