Delete in text file

I want to delete some text in text file
Example : I want to delete text in highlight yellow. image
from : image
to :image

Guide me, please.

1 Like

Good evening @fairymemay,

You will need to extract the text into a string variable, use string manipulation (likely Regular Expressions) to delete the highlighted text, and then replace the text file with the new value in your variable (either replacing the contents or just deleting + writing a new file).

This may help when building your Regular Expression(s):


If it is a fixed position then check as below (7.3 KB)

Mark as solution if this helps

Thank you

Can I use replace ?


Replace with any value(Space) will create a space between the lines, If that ok, then you can use, or this will not create any issue

Mark as solution if this helps