Bash Script Match Regex Javascript Url Constructor In Python With Example