I have a string like "@1234@ == val1 && @2312@ != val2". I want to get 1234 and 2312 which are embedded using '@' separated into an array. The string can contain more than one items embedded using '@'.

update: will contain only integer values between '@'.

update2:valid input string which can occur are "@some int value@ == val1" or similar kind of string separated with '&&' or '||'
sample input strings: