Question: Is there a way to retrieve the time at which an HDInight cluster was started or the cluster uptime via the terminal? There seems to be no command or API that I can find that gets the startup timestamp.

Answer: 
You may use this regex with an optional capture group:

```sh
^@(?:id|class)="[^"]*?( on[a-z]*=[^"]*)?"

```

[RegEx Demo](https://regex101.com/r/VlSgY0/3)

**RegEx Explanations:**

* `^`: Start
* `@`: Match a `@`
* `(?:id|class)`: Match `id` or `class`
* `="`: Match `="`
* `[^"]*?`: Match 0 or characters that are not `"` (lazy)
* `( on[a-z]*=[^"]*)?`: Optional capture group that matches space followed by `on<lowercase letters>=` followed by 0 or of any non-`"` characters
* `"`: Match closing `"`
Will that work for the use case you have?

```
(@id=|@class=).*?( on[a-z]*?=.*)[",',`]|@id=\W\w+\W

```