Alternative to regex

5th January 2021 at 8:28am

https://github.com/VerbalExpressions

You can do things like:

var tester = VerEx()
    .startOfLine()
    .then('http')
    .maybe('s')
    .then('://')
    .maybe('www.')
    .anythingBut(' ')
    .endOfLine();

I always hated regex so that's a pretty good finding.