bounty-domains icon indicating copy to clipboard operation
bounty-domains copied to clipboard

Domain.txt converting regex

Open ibnufachrizal opened this issue 4 years ago • 1 comments

hi, any tips for converting domain.txt to grep regex?

1688.com 18f.gov 9apps.com aaf.cloud aaf.com aafusercontent.com abacus.com acorns.com

to

.1688.com$ .18f.gov$ .9apps.com$ .aaf.cloud$ .aaf.com$ .aafusercontent.com$ .abacus.com$ .acorns.com$

ibnufachrizal avatar Jan 15 '21 01:01 ibnufachrizal

cat yourlist.txt | awk '{print("." $1"$")}'

m0uka-Dz avatar Dec 02 '23 19:12 m0uka-Dz