Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

regex validate link

/^(?:http(s)?://)?[w.-]+(?:.[w.-]+)+[w-._~:/?#[]@!$&'()*+,;=.]+$/gm
Comment

regex link validation

^(http://www.|https://www.|http://|https://)?[a-z0-9]+([-.]{1}[a-z0-9]+)*.[a-z]{2,5}(:[0-9]{1,5})?(/.*)?$
Comment

PREVIOUS NEXT
Code Example
Javascript :: get the size of the screen javascript 
Javascript :: queryselector attribute 
Javascript :: vue js get width of element 
Javascript :: importing react 
Javascript :: .map for object javscript 
Javascript :: jquery if div is empty 
Javascript :: replace - with space 
Javascript :: convert date time in reactjs 
Javascript :: loopback hasone 
Javascript :: get next month js 
Javascript :: slug javascript 
Javascript :: javascript getmonth 
Javascript :: inline style vue 
Javascript :: sort array with objects 
Javascript :: regex check is valid ip 
Javascript :: js get locale 
Javascript :: jquery each 
Javascript :: mongodb unshift array 
Javascript :: node list folders in directory 
Javascript :: dummy json 
Javascript :: jquery modal on show + target button 
Javascript :: javascript date to string 
Javascript :: javascript truthy switch 
Javascript :: how to remove element from array react native 
Javascript :: how to get current day in javascript 
Javascript :: palindrome in javascript 
Javascript :: how to flatten array with reduce in javascript 
Javascript :: how to check if an element is in an array javascript 
Javascript :: javascript generate a random number between two numbers thats not 1 
Javascript :: onchange text input react native 
ADD CONTENT
Topic
Content
Source link
Name
1+2 =