|
Posted by Rik on 05/06/06 14:53
Good Man wrote:
> tomhawkins1@gmail.com wrote in news:1146686597.525098.310380
> @j73g2000cwa.googlegroups.com:
>
>> I can never seem to get these to do what I want and it should be
>> simple as far as I can tell! I need to check to see if a variable of
>> mine has been submitted in the correct format.
>
> hi
>
> not to sound like a wanker, but RegEx Buddy
> http://www.regexbuddy.com/ is actually really useful for
> learning/scripting/testing regular expressions. you can work with any
> data and see how the regex affects it in real time, immediately. and
> yes, you do wind up learning how to do it. the drag is that it is
> paid software. but, it has the syntax/functions for a lot of other
> programming languages besides php.
Allthough it's not written for PHP, if my regex doesn't work, I use Regex
Workbench to test it. Not ideal, but using "interpret" easily spots my
mistakes/typos. And it's free.
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|