/*
^(https?://)?[\w]+(.[\w]+)(:[\d]+)(.[a-zA-Z\d]{2,})(/[\w\d/.?&=-])?$
Local URL RegEx validator. Includes local URLs and ports.
@author: github.com/felipeeme
localhost
127.0.0.1:8080
http://localhost
https://myfalafel.org
https://www.myfalafel.org
https://myfalafel.org/cart
https://myfalafel.org/cart/checkout.php
https://myfalafel.org/cart/checkout.php
https://myfalafel.org/cart/checkout/view.php¶m=01¶m=03
ftp:// or unusual prefixes;
different characters that are not alphanumeric, underscore or /.?&=- after the dash;
