I was wondering if any of you guys know of a good tutorial on regex. I'm able to do most of the simple stuff, but still confused by some of the more advanced pattern matching.
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Recommended Answers
Jump to Posthttp://gnosis.cx/publish/programming/regular_expressions.html
seems pretty good. I myself learned from Programming Perl, 3rd Edition.
Here's a good reference, but neither of these two links cover more advanced features: http://www.cs.tut.fi/~jkorpela/perl/regexp.html
…
Jump to PostPHP's ereg regexes use the POSIX Extended regex features, which are described decently at http://en.wikipedia.org/wiki/Regular_expression These pretty much form a subset of Perl-compatible regex features -- Perl-compatible regexes support lazy matching, like
(foo)*?
…
All 5 Replies
sarehu
84
Posting Whiz in Training
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
sarehu
84
Posting Whiz in Training
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.