Question: I have to add text for example `<meta tag...>` in my project in all files "\*\*.html\*" after "\*`<title>title page</title>*` text.
For Example:

```
.....blablalbalblala
        <title>title page</title>
         **<meta... tag/>**    //inserted text 
    .....

```

I know how to find \*.html files with text ... but how to add text after this tag?

Answer: 
Refer images. Select your **project** in package explorer, I selected package. Press `Ctrl`+`H`

![enter image description here](https://i.stack.imgur.com/qI0hf.jpg)

Note down the number of **search hits** after searching. In below picture it is present below the view toolbar. Here it is 3.

![enter image description here](https://i.stack.imgur.com/KASeK.jpg)

**Replace hits**(in below picture it is above the **Replace** **Replace** text box i.e 3) must match the **search hit** shown in above picture.

![enter image description here](https://i.stack.imgur.com/V76Dy.jpg)
If you'are using Linux, you can open a terminal, going in your project dir and do:

```
A="<meta tag...>"
B="</title>"
awk -v "pattern=$A" '{print} /^$B/ && !x {print A; x=1}' filename > tmp
cat tmp > filename
rm tmp

```

if you want to apply to all your file, make a script, say "addMeta":

```
#!/bin/bash

cd $1
A="<meta tag...>"
B="</title>"
for file in $(find -name "*.html"); do
    awk -v "pattern=$A" '{print} /^$B/ && !x {print A; x=1}' ${file} > tmp
    cat tmp > ${file}
    rm tmp
done

```

And then you can: 

```
chmod +x addMeta
./addMeta ~/workspace/Project

```

Script is to prefer to ctrl+F and Replace **IF** you have to do this modify to many files.