Friday, July 8th, 2005 at 1:16 AM
In doing some of my own projects, I’ve found it useful to match chunks of text using regular expressions, as opposed to doing a long routine of string position and substring calls. Regular expressions allow you to define a pattern to look for, rather than a specific string. When the pattern matches, you can either pull in the match itself, or the position of the match. Here are a few incredibly useful links for learning how to begin mastering this powerful programming tool:
Starmerj’s Perl RegEx Crib Sheet
Regular Expressions in PHP
JavaScript Regular Expression Tester
Regular-Expressions.info – Regex Tutorial, Examples and Reference
This entry was posted
on Friday, July 8th, 2005 at 1:16 am and is filed under Programming, Tips.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, trackback from your own site, or
Stumble it!.
fmTuner: Last.fm for WordPress
ADB Mouse Conversion
iPod Super
Leave a Reply