add regex style string replacement for device ids for user defined resources #4148
===VersionHistory:Pending===