How to check if brackets or parenthesis are empty in a string in Ruby?

For example:

```
"Some text some text () some text some text" #=> Invalid string

```

A string with empty "()" or "[]" or "{}" should be false, otherwise true.

Examples:

```
"Some text some text (some text) some text some text" #=> Valid string
"Some text some text [some text] some text some text" #=> Valid string
"Some text some text {some text} some text some text" #=> Valid string

"Some text some text () some text some text" #=> Invalid string
"Some text some text [] some text some text" #=> Invalid string
"Some text some text {} some text some text" #=> Invalid string

```

I've been researching to use regular expressions or `scan` method, but none seems to fit my needs. How could I approach that?