Given this regular expression: \"^[0-9]*\\s*(lbs|kg|kgs)$\" how do I make it case insensitive? I am trying to use this in a .net regular expression validator,
\"^[0-9]*\\s*(lbs|kg|kgs)$\"
Easiest here is to just modify the regex to
^[0-9]*\s*([lL][bB][sS]|[kK][gG][sS]?)$
It's awful to read, but it will work fine.