Build, test, and debug regular expressions
This regex validates CSS border-style property values in JavaScript. It matches strings containing 1 to 4 border style keywords (dashed, dotted, double, groove, hidden, inset, outset, inherit, initial, none, ridge, solid) separated by whitespace, with optional leading/trailing whitespace. It is case-insensitive and useful for form validation, CSS parsing, or ensuring style attributes conform to valid syntax.