You can do it in excel or any other online tool like google sheets.
https://www.goodhousekeeping.com/appliances/washer-reviews/g105/washing-machine-reviews/
https://www.thespruce.com/best-washing-machines-4107080
https://www.tomsguide.com/us/best-washing-machines,review-6208.html
https://www.tomsguide.com/us/best-washing-machines,review-6208.html
You can try a trick, Download phpDesigner8 IDE from http://www.mpsoftware.dk/downloads.php with 30-days free trial with email only.
After installation, open the file into it and use its search & replace function even in nested files directory as well.
Make sure to make your phrase like Washing Machine in 2021 to washing-machine-in-2021 and just replace with your own words.
Hope this helps.

import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.URL;
public class SimpleWebScraper {
public static void main(String[] args) throws Exception {
SimpleWebScraper ws = new SimpleWebScraper();
String keyPhrase = "washing machines in 2021";
String[] urls = new String[]{
"https://www.goodhousekeeping.com/appliances/washer-reviews/g105/washing-machine-reviews/",
"https://www.thespruce.com/best-washing-machines-4107080",
"https://www.tomsguide.com/us/best-washing-machines,review-6208.html"
};
for (String url : urls) {
URL web;
InputStream is = null;
BufferedReader br;
String line;
web = new URL(url);
is = web.openStream(); // throws an IOException
br = new BufferedReader(new InputStreamReader(is));
while ((line = br.readLine()) != null) {
//System.out.println(line);
if (line.contains(keyPhrase)) {
System.out.println("key phrase found in: " + url);
System.out.println(line);
}
}
is.close();
}
}
}
I would use a simple java program:
Code:import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; public class SimpleWebScraper { public static void main(String[] args) throws Exception { SimpleWebScraper ws = new SimpleWebScraper(); String keyPhrase = "washing machines in 2021"; String[] urls = new String[]{ "https://www.goodhousekeeping.com/appliances/washer-reviews/g105/washing-machine-reviews/", "https://www.thespruce.com/best-washing-machines-4107080", "https://www.tomsguide.com/us/best-washing-machines,review-6208.html" }; for (String url : urls) { URL web; InputStream is = null; BufferedReader br; String line; web = new URL(url); is = web.openStream(); // throws an IOException br = new BufferedReader(new InputStreamReader(is)); while ((line = br.readLine()) != null) { //System.out.println(line); if (line.contains(keyPhrase)) { System.out.println("key phrase found in: " + url); System.out.println(line); } } is.close(); } } }
output:
key phrase found in: https://www.tomsguide.com/us/best-washing-machines,review-6208.html
<title>Best washing machines in 2021 | Tom's Guide</title>
key phrase found in: https://www.tomsguide.com/us/best-washing-machines,review-6208.html
<meta name="parsely-title" content="Best washing machines in 2021">
key phrase found in: https://www.tomsguide.com/us/best-washing-machines,review-6208.html
"name": "Best washing machines in 2021",
key phrase found in: https://www.tomsguide.com/us/best-washing-machines,review-6208.html
"headline": "Best washing machines in 2021",
key phrase found in: https://www.tomsguide.com/us/best-washing-machines,review-6208.html
<h1>Best washing machines in 2021</h1>

I did the tests with the 2 texts, but still the results were not obtained.you forgot following step:
"Make sure to make your phrase like Washing Machine in 2021 to washing-machine-in-2021 and just replace with your own words."
could you show in an image how you got the results?
<?php
$arr = array( "https://www.goodhousekeeping.com/appliances/washer-reviews/g105/washing-machine-reviews/", "https://www.thespruce.com/best-washing-machines-4107080", "https://www.tomsguide.com/us/best-washing-machines,review-6208.html" );
foreach ($arr as &$value) {
$text = file_get_contents($value);
$intext = strpos($text, 'washing machines in 2021');
if ( $intext !== false)
echo 'found in ' . $value;
}
?>
Nice. I think .net is better with a lot of urlsphp version:Code:<?php $arr = array( "https://www.goodhousekeeping.com/appliances/washer-reviews/g105/washing-machine-reviews/", "https://www.thespruce.com/best-washing-machines-4107080", "https://www.tomsguide.com/us/best-washing-machines,review-6208.html" ); foreach ($arr as &$value) { $text = file_get_contents($value); $intext = strpos($text, 'washing machines in 2021'); if ( $intext !== false) echo 'found in ' . $value; } ?>
Find in website not in fileshttp://findandreplace.io/