in reply to regex question Underscores, lines and paratheses.

_-( 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.

  • Comment on Re: regex question Underscores, lines and paratheses.