Regular Expressions

How To Use Regular Expressions for Data Validation and Cleanup

  • Article

You need to provide data validation at the server level for complex strings like phone numbers, email addresses, etc. You may also need to do data cleanup / standardization before moving it from source to target. Although SQL Server provides a fair number of string functions, the code developed with these built-in functions can become complex and hard to maintain or reuse.

2011-03-03

15,100 reads

Blogs

Daily Coping 23 Sept 2021

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Getting Up and Running with Dapr

By

I’ve heard about Dapr a few times from developer friends, but hadn’t really understood...

Data Platform products for Microsoft gaps

By

Microsoft has a ton of data platform-related products, but there are certain areas where...

Read the latest Blogs

Forums

output of stored procedure to text and email text

By skb 44459

i have a stored procedure which outputs data from various table query like below....

needing help casting varchar to decimal

By DaveBriCam

I'm needing to convert some varchar figures to decimal for sums, but can't quite...

Colum Header adding a 1 to the text when downloading?

By jbalbo

Hi, I come across this once in a while, I have a column header...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers