Replace references functionality | Editor Utilities

How to call this function, but using editor utilities?