_-( inside a character class ([ between square brackets ]) mean "any character between _ and (". It might have included a lot of characters you didn't want, but actually in this case, if you look at an ASCII table, you'll see that ( actually comes before _, so this is not a valid range.
It will also easier for us to help you if you show us some sample input data.
In reply to Re: regex question Underscores, lines and paratheses.
by Eily
in thread regex question Underscores, lines and paratheses.
by sbrothy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |