NET Regex. (with ignore-case)
I want it to match
field_x_12
field_a_ABC
field_r_something
etc
My question is why the .
operator doesn't work in this regex:
field_[.]_.*
yet this (equivalent basically) regex does work:
field_[a-z]_.*
Is there something I'm missing about the dot operator .
?
A .
inside a character class ([...]
) is a literal dot character. If you want it to act as a wildcard, don't use the brackets.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With