preg_match('/<(\w+)(.*?)>/', $html) ----------------------------------------------------------------------------- Copyright 1997-2024 Jeffrey Friedl