You can use
```none
^\d+(?:,\d+)*\R(?=(?:(?!\d+(?:,\d+)*$).*\R)*/{3,}$)\K[\s\S]*?(?=\R.*\R/{3,}$)
```
See the [regex demo][1].
*Details*:
- `^\d+(?:,\d+)*\R(?=(?:(?!\d+(?:,\d+)*$).*\R)*/{3,}$)` - matches the last comma-separated digit sequences line before `///` like line
- `\K` - discards all text matched so far from the match memory buffer
- `[\s\S]*?` - zero or more chars as few as possible
- `(?=\R.*\R/{3,}$)` - a positive lookahead that requires the following patterns to match immediately to the right of the current location:
- `\R.*` - line break and the whole line
- `\R` - a line break
- `/{3,}$` - three or more `/` chars till the end of the line.
See the NPP demo:
[![enter image description here][2]][2]
[1]: https://regex101.com/r/CNgMlq/2
[2]: https://i.sstatic.net/JfQMyVi2.png
You can use
```none
^\d+(?:,\d+)*$(?=(?:\R(?!\d+(?:,\d+)*$).*)*\R/{3,}$)
```
See the [regex demo][1]
*Details*
- `^` - start of a line
- `\d+(?:,\d+)*` - two or more comma-separated digit sequences
- `$` - end of a line
- `(?=(?:\R(?!\d+(?:,\d+)*$).*)*\R/{3,}$)` - a positive lookahead that requires (immediately to the right of the current location):
- `(?:\R(?!\d+(?:,\d+)*$).*)*` - zero or more occurrences of
- `\R(?!\d+(?:,\d+)*$)` - a line break not followed by a line that only contains comma-separated digit sequences
- `.*` - the rest of the line
- `\R` - a line break
- `/{3,}` - three or more `/` chars
- `$` - end of a line
NPP test:
[![enter image description here][2]][2]
[1]: https://regex101.com/r/QWuK66/2
[2]: https://i.sstatic.net/4haFgiIL.png