go to any length

go to any length(s)

To do anything necessary to accomplish or attain something. I will go to any length to get an A in this class, professor—I'll clean your office, wash your car, anything! Go to any lengths you need to, just get me a reservation for this Saturday night!
See also: any, go

go to any length

Fig. to do whatever is necessary. (See also go to great lengths (to do something).) I'll go to any length to secure this contract. I want to get a college degree, but I won't go to any length to get one.
See also: any, go, length

go to any length

Also, go to great lengths. Take a great deal of trouble for something, go to extremes. For example, He'll go to great lengths to make a perfect chocolate cake, or, as Benjamin Disraeli put it in Coningsby (1844): "He would go ... [to] any lengths for his party."
See also: any, go, length
References in classic literature ?
Dag Daughtry's face hardened unconsciously with the stiffening of his will to dogged opposition, which, in its own slow quiet way, would go to any length to have its way.
Gone are the times when employees and companies would go to any length to satisfy their customers.
Peshawar -- Chief of Army Staff (COAS) General Raheel Sharif on Sunday said the army would go to any length to finish terrorists from any nook and corner of the country.
However, the chauffeur is horrified to discover his sharp-suited client is an assassin for hire who will bump off anyone for the right price and go to any length to get the job done.
She also discovers that those closest to her will go to any length necessary to steal her fortune.
"Like any other company, we should go to any length to protect ourselves when we feel like we're being dealt with unjustly," says Body Shop spokesman Bryan Weaver.
"It seems the city's real estate appraiser will go to any length to defend the assessment and not come up with a fair assessment," he added.
After striking up a relaxed rapport, the duo reach their first destination of the evening and the chauffeur is horrified to discover his sharp-suited client is an assassin for hire who will bump off anyone for the right price and go to any length to get the job done.
Needless to say, the powers that be are definitely angry at such uprisings, and are willing to go to any length to destroy them.
He noted that Gotabaya Rajapaksa is determined to establish a Sinhalese Buddhist only country and will go to any lengths to do that.
Unmindful of the fast deterioration in the ratings of our country in the eyes of the international community, our power-hungry politicians are determined to go to any lengths to undermine the prestige of our otherwise respectable and peace-loving nation.
Meanwhile, the company is ready to go to any lengths to keep her quiet.
And it seems the 34-year-old, right, will go to any lengths to escape his ex-wife.
These extremists will go to any lengths to disrupt our way of life and, while we should all be vigilant, we should not let them change the way we live.
So much so that it seems she will go to any lengths to manipulate events so that Mark and Sonia and any resulting progeny will be forever under her jurisdiction.