I want to create a .bat script file to `SELECT` and `DELETE` following row-

```
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

```

The above row can appear in any application like Notepad, MS Word, Any other application's text area etc.

So, I will create a keyboard shortcut of the .bat file and whenever I run that keyboard shortcut, it will search for the above row in the particular opened application and then delete the entire row.

It is same like we select any string using mouse and then press `Delete` button on keyboard to delete it. 

As a solution-
I can write Macro, but it will not work for all applications, for example a web application having text area.