NameSilo

Trying to remove the extension from a list of domains

SpaceshipSpaceship
Watch

rupert

VIP Member
Impact
20
I'm looking to convert a list of domains into just a list of keywords.

By that I mean, rather than having a list like this:

domain1.com
domain2.com
domain3.com
domain4.com
domain5.com
etc

I'd like to have a list like this:

domain1
domain2
domain3
domain4
domain5
etc

Do you know of any online tools or tricks that I could use to do this?
There's around 40,000 domains in the list so I don't want to have to do it manually. D-:

Thanks.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Open the list in notepad or ooWriter or word.

Use the 'find and replace' function to turn .com into nothing.

Good Luck!
 
0
•••
open file in wordpad


ctrl + H

find and replace


there u go
 
0
•••
Go to Regular Expression Test Tool

Enter this as the regular expression:

/([^\.]+)\.[^\r?\n?]+/m

Paste the list of names into the data field

Click preg_replace

in the enter the text to replace:

$1

click run regular expression

copy the outupt and remove the quotes

Cheers,

Jay
 
0
•••
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy — Zero Commission
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back