[thelist] regex help

Gary McPherson lists at ingenyus.net
Mon Sep 20 18:06:50 CDT 2004


Out of curiousity, what tool(s) do you use to help you develop regexes, if
any? I had a small program that I used to use to test regexes, allowing me
to enter strings and view the resulting matches or patterns. However, I have
since rebuilt that particular box and I cannot remember for the life of me
what the app was called. If anyone has suggestions for similar tools, would
love to hear about them!

Cheers,

Gary

> -----Original Message-----
> From: thelist-bounces at lists.evolt.org 
> [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Joshua Olson
> Sent: 20 September 2004 16:54
> To: thelist at lists.evolt.org
> Subject: RE: [thelist] regex help
> 
> > -----Original Message-----
> > From: Theodore Serbinski
> > Sent: Monday, September 20, 2004 11:41 AM
> > 
> > DUCROCQ Yann FT/DSI/SICOR wrote:
> > > All tests are in this regExp :
> > > 
> > > /^(([01]?[0-9]|2[0-3])(\.[0-9])?|24\.0|24)?$/
> > 
> > Thanks all for the help! I was actually working on a very similar 
> > regex to Yanno's and have arrived at this final result:
> > 
> > /^(([01]?[0-9]|2[0-3])?(\.[0-9])?|24\.0|24)?$/
> > 
> > This one also tests for values such as .5 or .9. Any more 
> thoughts on 
> > this?
> 
> Ted,
> 
> Modifying my previous suggestions slightly:
> 
> ^([1]?[0-9]|2[0-4])?(\.[0-9])?$
> 
> That should do it.
> 
> <><><><><><><><><><>
> Joshua Olson
> Web Application Engineer
> WAE Tech Inc.
> http://www.waetech.com/service_areas/
> 706.210.0168 
> 
> 
> 
> -- 
> 
> News! - Evolt.org conference for web professionals. 
> 17-19 September 2004 in Toronto, Canada. 
> Details at http://TOevolt.org
> 
> * * Please support the community that supports you.  * * 
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip 
> Harvester and archives of thelist go to: 
> http://lists.evolt.org Workers of the Web, evolt ! 
> 




More information about the thelist mailing list