RegexUnescape
Returns a regular expression un-escaped string
- Free Function
- SQL Server Compatibility: 2008, 2012, 2014, 2016, 2017
SELECT SQLHTTP.net.RegexUnescape ( @Text )
Name | Type | Description |
---|---|---|
@Text | nvarchar(MAX) | String to un-escape. |
nvarchar(MAX)
1 2 3 4 5 6 7 8 |
DECLARE @Text nvarchar(MAX) SET @Text = 'A\ thousand\ dollars\ =\ \$1,000\.00' SELECT SQLHTTP.net.RegexUnescape(@Text) |
1 2 3 4 5 |
------------------------------------- A thousand dollars = $1,000.00 |