How to create regex?
You can easily create and test regex from the below site. https://www.regextester.com/99638
How to create regex? Read More »
You can easily create and test regex from the below site. https://www.regextester.com/99638
How to create regex? Read More »
IE doesn’t support “URLSearchParams”. So sometimes your script will not work in IEs. So the alternative for the “URLSearchParams” is as below. window.getUrlParameter = function( keyword, query_string ) { keyword = keyword.replace(/[\[]/, ‘\\[‘).replace(/[\]]/, ‘\\]’); var regex = new RegExp( keyword + ‘=([^&#]*)’); var results = regex.exec( query_string ); return results === null ? ” :
Alternative for URLSearchParams Read More »