[TYPO3] preg_match_all problem.

Pete Novak pete.n at hotmail.com
Sat Sep 29 14:03:10 CEST 2007


> Hi all,
> I have the following
> $content = ' lkdjsh flsd+++AAA+++hflk jshdflkh gskldjfh gkljsdhf k 
> ghsdkflh gsjkldhf glskd+++DRASVD+++uhfg lushdliufgh sdiufh 
> gs+++HGFGS+++ldiuhf gklsdjhflkgj sdhfh gsdjkfhg skljdfh gjk';
> when I use preg_match ('/+++[A-Z]+++/', $content);
> It doesent work, why?
> In a certain text I want to find all appearance of  a certain uppercase 
> Letters from A-Z      +++AAA+++
> Where AAA is there could be only uppercse letters from A to Z without any 
> space - or _
> Can anyone help me with the regex?=
> :-)
> Thanx


sorry fogot to say that I want to get back ann array with all the amtched 
stuff... 




More information about the TYPO3-english mailing list