I have the following text:

```
Units Currently On Bed List
[total beds=0]
Number Of Beds Unit Interval Select All 

```

The number after '=' is dynamic and subject to change. How can I extract the number in java using regex?