<?php $string = 'Lorem ipsum dolor sit amet, consetetur sadipscing www.loremipsum.com/asd/fgh/jkl elitr, sed diam '; $regex= '#www\.\S+#'; preg_match_all($regex,$string, $matches); echo($matches[0][0]);
You have javascript disabled. You will not be able to edit any code.