regexp befor domdocument