lesser-equity

Computer Juice Magazine
Go Back   Computer Juice > Computer Software > Office Suites & Applications



Reply
 
Thread Tools
  #1  
Old 4th Jun 2008, 18:15
New Member Group
 
Posts: 2
Default Regular Expression Help

Alright, I am using Word 2007. I need to remove all sub domains within a large list that also contains regular domains.

Example data:

maps.google.com
rawr.blah.edu
google.com
apples.com
mars.bars.com

Output data:

google.com
blah.edu
google.com
apples.com
bars.com

I tried this: (^13*)*. however it changes google.com to com.

Ideas?

  #2  
Old 15th Jun 2008, 05:19
Donor Group
 
Skill Level: Intermediate
Posts: 438
Default Regular Expression Help

*.google.com
*.blah.edu
Is this what you mean?
  #3  
Old 15th Jun 2008, 07:12
New Member Group
 
Posts: 2
Default Regular Expression Help

Quote:
Originally Posted by Emrys88 View Post
*.google.com
*.blah.edu
Is this what you mean?
That's what I would like to do, yes. How would I go about that?

Please support this forum, donate towards our running costs.
Reply

Tags
expression, regular

Bookmarks
Thread Tools



Arabic Bulgarian Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Finnish French German Greek Hebrew Hungarian Italian Japanese Korean Norwegian Polish Portuguese Romanian Russian Serbian Slovak Spanish Swedish Thai Turkish

Copyright ©2006 - 2009 Computer Juice.

Powered by vBulletin® Copyright ©2000 - 2009 Jelsoft Enterprises Ltd. SEO by vBSEO ©2009, Crawlability, Inc.