skip to main
|
skip to sidebar
NYC DBA
Thursday, September 17, 2009
Regex to remove end-of-line white space
Utilizing the blog as my public scratchpad (as usual), here's a regex for removing whitespace from the end of all lines. Useful when pulling up the text of a SQL object with sp_helptext and then creating it again.
Replace: [ \t]+\n
With: \n
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
Recommended Feeds
Joe Chang
Conor vs SQL
Kalen Delaney
Felix Salmon @ Reuters
Marginal Revolution
Overheard in New York
Blog Archive
►
2014
(1)
►
December
(1)
►
2013
(5)
►
August
(2)
►
July
(1)
►
June
(1)
►
May
(1)
►
2012
(13)
►
September
(1)
►
July
(1)
►
June
(1)
►
March
(4)
►
February
(2)
►
January
(4)
►
2011
(15)
►
December
(1)
►
November
(1)
►
October
(4)
►
August
(1)
►
July
(1)
►
June
(1)
►
May
(1)
►
April
(1)
►
March
(2)
►
January
(2)
►
2010
(9)
►
December
(4)
►
October
(2)
►
March
(1)
►
January
(2)
▼
2009
(10)
►
December
(1)
►
October
(1)
▼
September
(1)
Regex to remove end-of-line white space
►
June
(1)
►
April
(2)
►
March
(1)
►
February
(1)
►
January
(2)
►
2008
(24)
►
December
(1)
►
October
(3)
►
September
(6)
►
August
(1)
►
July
(2)
►
June
(3)
►
May
(2)
►
March
(4)
►
February
(1)
►
January
(1)
►
2007
(25)
►
December
(2)
►
November
(2)
►
October
(1)
►
September
(2)
►
August
(3)
►
June
(2)
►
May
(3)
►
April
(3)
►
March
(2)
►
February
(1)
►
January
(4)
►
2006
(5)
►
December
(5)
About Me
Unknown
View my complete profile