There are two awk match() functions:

```
awk 'match($0,/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/){print substr($0,RSTART,RLENGTH)}'

```

and

```
awk 'match($0,/2022:[0-9]{2}:[0-9]{2}:[0-9]{2}/){print substr($0,RSTART,RLENGTH)}'

```

Both of them print required results independently, one matches IP address, second matches date and time.

How to combine these two functions, so their results are printed within one line?