How to extract custom tokens in SQL Server NVarChar/VarChar field by using RegEx?
Posted
by
Kthurein
on Stack Overflow
See other posts from Stack Overflow
or by Kthurein
Published on 2010-12-25T12:44:46Z
Indexed on
2010/12/25
12:54 UTC
Read the original article
Hit count: 295
Is there any way to extract the matched strings by using Regex in T-SQL(SQL Server 2005)?
For example:
Welcome [CT Name="UserName" /], We hope that you will enjoy our services and your subscription will be expired on [CT Name="ExpiredDate" /].
I would like to extract the custom tokens in tabular format as follows:
[CT Name="UserName" /]
[CT Name="ExpiredDate" /]
Thanks for your suggestion!
© Stack Overflow or respective owner