Have you checked out PHP's manual? It has extensive documentation of PHP's
regex support. Once you're familiar with the terminology, it has everything
you need to know.
I checked out google for some more sites, and this one came up:
http://www.regular-expressions.info/
Let me know if it's not good ;)
"chris" <someone@here.com> wrote in message
news:41bc2f0b$1@funnel.arach.net.au...[color=blue]
>i understand what u are saying and i agree - i would find it handy to be
>able to create the regex BUt i would also work out how it does it and
>eventually not use it
>
> i have played arount with it but am still not quite understanding it - a
> heap od examples would be great
>
> like in one site i saw this and i thought it was good
>
> / # identify URLs within a text file
> [^="] # do not match URLs in IMG tags like:
> # <img src="http://mysite.com/mypic.png">
> http|ftp|gopher # make sure we find a resource type
> :\/\/ # ...needs to be followed by colon-slash-slash
> [^ \n\r]+ # some stuff than space, newline, tab is in URL
> (?=[\s\.,]) # assert: followed by whitespace/period/comma
> /
>
> More examples like thaT WOULD BE GOOD
> "d" <d@example.com> wrote in message
> news:niVud.12519$qr4.6085@fe2.news.blueyonder.co.u k...[color=green]
>> I'm sure there is, but whether you'd want to use one is a different
>> matter. Have you considered just messing around with regex after reading
>> a tutorial? Everyone I know who uses regex learned that way - if you
>> become reliant on software to write your code, you can find yourself in
>> sticky situations ;)
>>
>> d
>>
>> "chris" <someone@here.com> wrote in message
>> news:41bc0ff7$1@funnel.arach.net.au...[color=darkred]
>>>i just had a thought
>>>
>>> is there any program that will create a regex
>>> for example you select the criteria and it generate an appropriate regex
>>>
>>>
>>>
>>> "chris" <someone@here.com> wrote in message
>>> news:41bc0ec4$1@funnel.arach.net.au...
>>>>i can see the power of regular expressions but am having a bit of a
>>>>battle getting my head around them.
>>>>
>>>> can anyone recommend some BASIC - tutorials for using regex
>>>>
>>>> something like th idots guide :)
>>>> or even total idiots guide :)
>>>>
>>>> somewhere that has some simple examples would be good toooo
>>>>
>>>> any help would be fantastic
>>>>
>>>> Chris
>>>>
>>>
>>>[/color]
>>
>>[/color]
>
>[/color]