tell application "Adobe InDesign CS6"
set Reset to 0
repeat while Reset is equal to 0
set find grep preferences to nothing
set change grep preferences to nothing
set include footnotes of find change grep options to false
set include hidden layers of find change grep options to false
set include locked layers for find of find change grep options to true
set include locked stories for find of find change grep options to true
set include master pages of find change grep options to false
set find what of find grep preferences to "~b~b+"--Here you can put your grep whatever you want to put--I have found multiple enter and replace them with nothing
set findList to find grep
set Reset to 1
set findListCnt to count of findList
repeat with i from findListCnt to 1 by -1
select item i of findList
tell active document
clear overrides selection
delete first character of selection
clear overrides selection
end tell
set Reset to 0
end repeat
set find grep preferences to nothing
set change grep preferences to nothing
end repeat
end tell