Regular Expressions 101

Sponsors

Library entries

Border Style CSS Property Validation (Javascript)

Vote

1

Regular Expression
javascript

/
^[ \t]*(?:(?<style>dashed|dotted|double|groove|hidden|(?:in|out)set|inherit|initial|none|ridge|solid)[ \t]*){0,4}[\t ]*$
/
img

Description

Loading markdown...
Submitted by disk0 <www.github.com/disco0> - 2 years ago