Hi, Yes, it's a standard and idiomatic expression, meaning 'Do what is necessary'. It's fine for casual conversation, but I wouldn't write it in my careful writing, or say it to the Queen (ha-ha). Best wishes, Clive
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.