/    Sign up×
Community /Pin to ProfileBookmark

I often see the web dev guru NogDog posting complex regex pattern searching thingies. Do you have any suggestions on where to learn this sctuff? Thanks in advance!

to post a comment
PHP

7 Comments(s)

Copy linkTweet thisAlerts:
@bokehNov 03.2005 — [URL=http://php.net/pcre]http://php.net/pcre[/URL]
Copy linkTweet thisAlerts:
@NogDogNov 03.2005 — If you [i]really[/i] want to get into it: http://www.oreilly.com/catalog/regex2/index.html .

I picked it up in bits and pieces over the years, starting with stuff I was doing with Perl to analyze test outputs; then later with PHP, mainly depending on the link Bokeh gave above.
Copy linkTweet thisAlerts:
@ShrineDesignsNov 03.2005 — i used regexp a little bit when i was learning JavaScript, i got into more when i got into php

once you get the syntax down it becomes easy to make complex patterns

http://www.php.net/manual/en/reference.pcre.pattern.syntax.php
Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYNov 03.2005 — That O'reilly booki is not bad really, but it's not php specific, but the pattern of regex is the same in different languages, what changes are the delimiters and the modifiers.

So i guess the book is fine ?
Copy linkTweet thisAlerts:
@bokehNov 03.2005 — Their is also a pocket version of O'Reilly's Regular Expressions which only contains relevant syntax rather than the personal sentiments of the author.
Copy linkTweet thisAlerts:
@tegraphixNov 03.2005 — Here's where I started with reading up on regex.

[URL=http://www.regular-expressions.info/tutorial.html]http://www.regular-expressions.info/tutorial.html[/URL]
×

Success!

Help @theuedimaster spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.24,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...