petrogromovo Posted May 7, 2023 Share Posted May 7, 2023 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... Quote Link to comment https://forums.phpfreaks.com/topic/316265-how-to-improve-my-regular-expressions-skills/ Share on other sites More sharing options...
requinix Posted May 8, 2023 Share Posted May 8, 2023 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... Quote Link to comment https://forums.phpfreaks.com/topic/316265-how-to-improve-my-regular-expressions-skills/#findComment-1608173 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.