Web lists-archives.com

[PHP] Converting SED expression to preg_match()




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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php