const regexp = VerEx()
.startOfLine()
.range('0', '9')
.repeatPrevious(3)
.maybe('-')
.range('0', '9')
.repeatPrevious(3, 4)
.maybe('-')
.range('0', '9')
.repeatPrevious(4)
.endOfLine();
console.log(regexp.test('010-1234-1234'));
const regexp = VerEx()
.startOfLine()
.then('http')
.maybe('s')
.then('://')
.anythingBut(' ')
.endOfLine();
console.log(regexp.test('http://naver.com'));
http://verbalexpressions.github.io/JSVerbalExpressions/