Converting SED expression to preg_match()

From: Date: Sun, 13 Dec 2015 09:41:06 +0000
Subject: Converting SED expression to preg_match()
Groups: php.general 
Request: Send a blank email to php-general+get-325286@lists.php.net to get a copy of this message
Hi guys, I am trying to convert the following SED line to do the same thing in preg_match() ... sed -netP -e's/<br>[[:alpha:]][0-9]\{3}[^<]*<br>/\n&\n/;D;:P' -eP\;D Any pointers would be appreciated ... more infor can be found here: unix.stackexchange.com/questions/247730/regular-expression-not-matching-all-possibilities Thank You Danny

« previous php.general (#325286) next »