XRegExp Regular Expression Test Page

Share: Share on Hacker NewsShare on PinboardShare on RedditShare on Twitter

Expression to test

Results

Regular Expression ^(http|https)://[a-zA-Z0-9-\.]+\.[a-zA-Z]{2,5}(/[a-zA-Z0-9-._~:/%?#[\]@!$&'()*+,;=]*)?$
Replacement
Options
Test Input XRegExp.replace() XRegExp.split()[] XRegExp.test() XRegExp.exec().index XRegExp.exec()[] regex.lastIndex
1 https://www.atcc.org/products/ccl-185 [0]:
[1]: https
[2]: /products/ccl-185
[3]:
true 0 [0]: https://www.atcc.org/products/ccl-185
[1]: https
[2]: /products/ccl-185
0

Inputs

Switch Engines