Replace Multiple characters in a string and match with output

Hi Friends,

My requirement is i need to replace multiple special characters in a string and match the output with the desired output using regular expressions.

Example:
Input=Command%run*RONA.

% is replaced with .

  • is replaced with .*
    . is replaced with .

output: Command.run.*RONA.

Now the output should match with desired output=Command run on RONA.

Thanks,
Chandini.

Hi chandiniwhat u mean by

is replaced with .* I couldn’t understand?

@chandini_dudekula

Hi @chandini_dudekula

You must provide the exact inputs and expected output so it will be easy for us to solve your query.

Same query with little info was created earlier :-

So do one thing that elaborate your topic here more & give inputs and expected output in Notepad/word doc.

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer: