Jump to content

How to improve my regular expressions skills ?


petrogromovo

Recommended Posts

Several years ago I had a good practice with regular expressions in php web pages content scraping.

Last years I did not work a lot with regular expressions and lost my skills a lot.

Could you please advice which kind of tasks have I to take to restore/improve my regular expressions skills out of web pages content scraping?

Please examples (or links) to such tasks from your own expierence...

I mean like a complete task in which regular expressions must be used...

Link to comment
Share on other sites

It's like asking how to improve your skills with a pipe wrench: you can either use it when it's appropriate to do so and recognize that probably won't happen very often, or you can come up with reasons to use it that weren't going to happen naturally.

How about lurking #regex on StackOverflow? You don't have to post replies yourself if you don't want to - just use them as exercises. (And do keep an eye on the answers too, as that's part of the learning process.)
Plus, I imagine that'll also help teach you when regular expressions aren't the answer to a problem...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.