When a domain expires some WhoIs results includes a "date to release".

For swedish domains this can look like:

Whois data

Using the functions WhoIs and RegexpFind we can get this date in Excel using SeoTools:

=RegexpFind(WhoIs("0081.se");"date_to_release:\s*(\d{4}-\d{2}-\d{2})";1)

Using a more generic regexp we can get any field we want:

=RegexpFind(WhoIs("nielsbosma.se");"registrar:\s*([^\n]*)";1)