One age-old technique is to catch the kid biting another, and bite him/her just enough to sting and not break skin, which should make him stop biting others.
Make sure the eoghteen month old knwos that biting and hitting is nor accpetable. Watch him or her closely and see if you can identify a trigger for this behavior.