Zend certified PHP/Magento developer

Sublime Text 3 – Regex Replace Using Conditional Match

In Notepad++, it is possible to use this kind of expression in the “Replace” box:

(?{1}{$1}n:)

This means if first group matches, replace by first group followed by new line, else replace by empty string.

Is this also possible in Sublime Text 3, and if yes, what is the exact syntax?