Recent posts

Valid URL 정규식

less than 1 minute read

var url : String = http://www.google.co.kr/; var regex:RegExp = /^http(s)?://((d+.d+.d+.d+)|((\[w-]+.)+([a-z,A-Z\]\[w-\]\*)))(:\[1-9\]\[0-9\]\*)?(/([w-./:%+@...