Skip to main content

In reader we have below cvs with one field.

=================================

Translation was SUCCESSFUL

9.4 seconds. (CPU: 4.2s user, 2.7s system)

==================================

 

How I can get this in text like this: "Translation was SUCCESSFUL - 9.4 seconds."

May be regex or something else

The following regex should match everything before the brackets which you could use in a string searcher 

^[^\(]+

Or you could use a stringreplacer to replace everything in the brackets and including the brackets with nothing

\(.*\)

The following regex should match everything before the brackets which you could use in a string searcher 

^[^\(]+

Or you could use a stringreplacer to replace everything in the brackets and including the brackets with nothing

\(.*\)

How I can merge to one line data in different rows. I want like this - "Translation was SUCCESSFUL - 9.4 seconds." . In one string


How I can merge to one line data in different rows. I want like this - "Translation was SUCCESSFUL - 9.4 seconds." . In one string

You can use the string replacer to do this, by replacing the line feed/carriagereturn with a space


How I can merge to one line data in different rows. I want like this - "Translation was SUCCESSFUL - 9.4 seconds." . In one string

If the source text just contains the two rows, you can achieve the goal with this workflow.