Since the match is the same, I would suggest something like

```
if (match = content_for_scanner.match(/Registrar:\s+Name:(.+?)\s*Website:(.+?)\n/))
  name, url = match.to_a[1..2]
  Record::Registrar.new(name: name.strip, url: url.strip)
end