1

What is the regular expression for validating Website URL in SQL Server?

here's my query:

UPDATE INE
SET INE.ErrorDetails = INE.ErrorDetails +'WebSite not in correct format. (ex.www.testmail.com)'
FROM IntEmployees INE
Where 
    INE.WebSite Not like 'what is the expression for URL ??'
AND
    ISNULL(INE.InterfaceType_120,0) = 1
AND 
    INE.Status = 1  
1

1 Answer 1

0

.... Where Website Not Like '%[^a-zA-Z0-9]%.[a-z][a-z]%'

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.