Thread: REGEX question
View Single Post

  #4 (permalink)  
Old 03-07-2008
Feijó
 
Posts: n/a
Default Re: REGEX question

Him Tim, Thanks!

Thats wierd, your code works on my pspad regex search (if found a
example I type in my source-code), but when I run over php, this error
is returned:

Warning: preg_match_all() [function.preg-match-all]: Delimiter must
not be alphanumeric or backslash

You know why?


On Mar 7, 3:52 am, Tim Roberts <t...@probo.com> wrote:
> Feijó <afe...@gmail.com> wrote:
>
> >I'm very new to Regex, I've been strugling a lot to use it, hard to
> >find good material :)

>
> >I just need to find all matchs for something like this:
> > D00:00:00:00

>
> >leter D, following by 4 sequences of 2 digits separated by : (2
> >points)

>
> >How can I do that?

>
> "D[0-9]{2}:[0-9]{2}:[0-9]{2}:[0-9]{2}"
> --
> Tim Roberts, t...@probo.com
> Providenza & Boekelheide, Inc.

Reply With Quote