Conor McGregor just walked out of an NYC courtroom where he appeared for a hearing for his bus attack case ... and told the media, "I regret my actions that led me here today."
He continued, "I understand the seriousness of this matter and I'm hopeful that it gets resolved soon."
Inside the courtroom, Conor's attorney told the judge the UFC star is negotiating a plea deal with prosecutors. They're due back in court July 26.
McGregor was hit with multiple charges -- including felony criminal mischief -- for attacking a UFC bus at the Barclays Center in Brooklyn on April 5 ... injuring multiple people including some UFC fighters.
If convicted on all counts, Conor faces up to 7 YEARS in prison.
Conor was escorted inside the courtroom by armed police officers who were controlling the crowd and keeping the peace.
Conor looked stylish -- wearing a suit and tie. His demeanor was much different than the last time he was in court -- no billionaire strut this time. He was very reserved.
Conor was joined by his manager, Audie Attar.
JoJo Fletcher's runner-up on her season of "The Bachelorette" can't figure out how Lincoln Adim got on the show, because the screening process probes for past crimes.
We got Robby Hayes Wednesday in Venice and asked if 'Bachelorette' producers need to do better background checks on their contestants ... in light of the fact Adim's sex crime arrest 2 years ago didn't raise any flags.
As we reported ... Adim had been convicted of and sentenced for indecent assault and battery days before Becca Kufrin's season premiered in May. He'd been accused of groping and grinding on a woman during a 2016 cruise. He must now register as a sex offender.
Robby is dumbfounded on how Lincoln slipped through the cracks. He's been through the process, and told us the pointed questions every contestant has to answer ... including the ones about arrests. He says Becca deserved to know about Lincoln and producers need to tighten up the background checks.
We broke the story ... Warner Bros., the studio behind the show, says Lincoln lied through his teeth, and the company that runs background checks missed his arrest.