Fixing regex which gets name interfaces