Senator Fraser Anning expressed his sympathy toward Prime Minister Scott Morrison after he was egged by a female protester at a Liberal Party election campaign event.

The right wing politician stood in solidarity with Mr Morrison and compared the woman's actions to those of 17-year-old Will Connolly.

The teenager egged Senator Anning in March at a rally in Melbourne in protest of his comments on Islamic immigration after the Christchurch terror attacks.

The boy became a social media sensation known as 'Egg Boy'.

Senator Anning said the overwhelmingly positive response to Egg Boy's actions has 'created a situation where grubs think this behaviour is acceptable.'

Senate candidate Fraser Anning, who was in March egged by a young protester at a rally in Melbourne, said Mr Morrison's assailant was encouraged by the way the public responded the boy who attacked him

On Tuesday, Mr Morrison was mingling with a group of older women at the Country Women's Association in Albury, NSW, when 25-year-old Amber Paige targeted him.

The egg missed but the assailant's hand slammed into Mr Morrison's head, knocking him forward before his bodyguards grabbed her and wrestled her out of the venue.

'This is politically motivated violence and is never acceptable,' Senator Anning said after the incident.

'Despite the PM's over zealous reaction to an almost identical incident, I wholeheartedly condemn any such acts and hope Scott Morrison is okay.'

Will Connolly, 17, was whacked in the face by Senator Anning when he slapped an egg on the politician's head

Ms Paige arrived at the event wearing a red beanie and a T-shirt reading feminist, and her social media accounts were later revealed to be filled with posts slamming Mr Morrison.

On International Women's Day in March, she criticised the PM for saying 'we don't want to see women rise only on the basis of others doing worse.'

Ms Paige posted: 'Be mad. Be mad as hell. Don't let his bigoted views bring you down.'

Opposition Leader Bill Shorten also said he felt sorry for the PM and criticised the protester.

Speaking in Waurn Ponds, Victoria, he said: 'The Prime Minister has my complete sympathy, as does the lady who was knocked over.

'This is not what we do in this country. This is not what we do in Australia. It doesn't matter if you're on the hard-left or the hard-right, it's disgraceful and appalling.'

This is the young woman who threw the egg at the Prime Minister in Albury on Tuesday

Mr Morrison was mingling with and talking to a group of older women when an egg was thrown from behind him and seemed to skim his head

Mr Morrison condemned the attack as 'thuggery' in a tweet after the event.

He wrote: 'My concern about today's incident in Albury was for the older lady who was knocked off her feet.

'I helped her up and gave her a hug. Our farmers have to put up with these same idiots who are invading their farms and their homes.'

In a second tweet he compared the protest to the actions of unions.

He added: 'We will stand up to thuggery whether it's these cowardly activists who have no respect for anyone, or militant unionists standing over small businesses and their employees on work sites.'