IT Process Automation

Expand all | Collapse all

How to extract single line from command.

  • 1.  How to extract single line from command.

    Posted Apr 12, 2018 09:33 AM

    Hi,

     

    I have connected to the host using "Run_Ssh_Script" operator and got the output of a command, Now i  want to extract single line(SVN Foundation Build Number) from output. Please let me know who do i achieve this. 

     

     

    Regards,

    Naveen



  • 2.  Re: How to extract single line from command.

    Posted Apr 17, 2018 08:42 AM

    Store this in a string variable and use a regex.



  • 3.  Re: How to extract single line from command.

    Posted Apr 20, 2018 02:54 AM

    Thank you Oliver, i have stored the output to a variable and wanted to know how to use regex to extract the line. Do you have any example of flow so that i will be helpful for me.

     

    Regards,

    Naveen



  • 4.  Re: How to extract single line from command.

    Posted Apr 23, 2018 04:35 PM

    what does the version format looks like?



  • 5.  Re: How to extract single line from command.

    Posted Apr 23, 2018 04:35 PM

    Can you paste the text here please.