Guest User

Untitled

a guest
Jun 2nd, 2014
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. def domain_name(url)
  2. pattern = /\w{4,}/
  3. match = pattern.match url
  4. match.to_a.each { |e| p e }.join
  5. end
Advertisement
Add Comment
Please, Sign In to add comment