Pentaho Kettle, find replace in text file -
i trying read text file , replace occurrence of "search term" "replace term" regular expression , write new file.
i relatively new pentaho kettle , not sure transform or set of steps suite best use case? transforms read data rows or columns not sure how read text file , find replace work? transforms either file line line or fields.
thanks time , attention.
step 1 - input-> text file input : file type: fixed, 1 string field big enough
step 2 - transform -> replace in string : use regexp: y, find: "search term", replace: "replace term"
step 3 - output -> text file output
not sure it's best, works. hope helps.
Comments
Post a Comment