Regular Expressions 101

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
(\d{2}(?:[\s\.]{1,3})){3,6}
/

Description

CSI Documentation usually formatted as ## ## ##(.##.##.##) this extracts the CSI number

Submitted by Ron E. Allen Apsis0215 - 9 years ago