I have been trying to make a very simple script that will allow me to paste a list of domains into a text box, and then above that enter a keyword. So that all domains containing the keyword I enter will be shown.
example:
input: hotels
textbox:
blahdomain.com
vacationhotels.com
hotelsvacation.com
blahdomain2.com
blahdomain3.com
and then after I press 'submit' it would return
vacationhotels.com
hotelsvacation.com
Can anyone help, I'm trying to use preg_match but I think I'm doing many things wrong and I'm very frustrated
Thnx!
example:
input: hotels
textbox:
blahdomain.com
vacationhotels.com
hotelsvacation.com
blahdomain2.com
blahdomain3.com
and then after I press 'submit' it would return
vacationhotels.com
hotelsvacation.com
Can anyone help, I'm trying to use preg_match but I think I'm doing many things wrong and I'm very frustrated
Thnx!
Last edited:





