I want to remove a word from string If containing that character and store in another variable. Example:
$a = 'This is bla bla @@ani bla bla.';
So I want to remove word containing @@ and store in another world.
So after removing $a will have This is bla bla bla bla.
And @@ani should store in another variable
Any help will greatly appreciated