How can I use SSMS 2016 regex replace feature to remove extra spaces and tabs at the end of lines?
Example of editor content:
select
    'tab'   
,   'space' 
select
    'tabs'      
,   'spaces'  
Goal:
select
    'tab'
,   'space'
select
    'tabs'
,   'spaces'
In SSMS 2012 find string :b*$ matches those extra tabs and spaces and allows me to replace them with nothing. SSMS 2016 started using some kind of .net regex syntax for the find/replace feature. Using \s+$ almost works in 2016, but it removes the empty lines.