started by adding "ok" in the first lesson... lock just shakes and when clicking the answer, it shows the exact same thing thats already in the box :/
Learn RegEx step by step, from zero to advanced
11–20 of 114 posts
Re: Learn RegEx step by step, from zero to advanced
#12I have learned regex, I learned it from regexone years ago so appreciate this type of teaching method. What I will say though it it's a little pedantic if you won't let me move on despite my solution being correct. An example is this: [dbf]eer When the answer required was (if I remember correctly): [bdf]eer I think as long as you're correct you should be allowed to move on. By all means show your preferred solution.
What's also a bit of a pain is when you click Show Solution you still have to type it in the box to continue. Apart from that I love it! I normally use regexr.com and just mess around with it until I get the desired result. It also helps with learning, but you end up never truly understanding the concepts.
A nice example was a big Cloudflare outage in 2019: https://blog.cloudflare.com/details-of-the-cloudflare-outage...
So for anyone using regex in (1) production as (2) part of an automation / regular process (i.e. not a one time search) on (3) sizeable amounts or reoccurrences of data, I'd really advice gaining a deeper understanding of what the various options do.
Re: Learn RegEx step by step, from zero to advanced
#13Re: Learn RegEx step by step, from zero to advanced
#14highly recommend Mastering Regular Expressions
Re: Learn RegEx step by step, from zero to advanced
#15highly recommend Mastering Regular Expressions
Are you referring to a book or online resource?
Re: Learn RegEx step by step, from zero to advanced
#16> Write the expression using curly brackets {} to select the numbers from 0 to 9 in the text that is at least between 1 and 4.
Re: Learn RegEx step by step, from zero to advanced
#17I learn regex just before I need it. Every. Time. After 25 years, it just doesn't stick.
If our experiences are typical, I'd argue people new to regex's should more learn they exist and when they can be useful, and not worry too much about actually learning their mechanics.
Re: Learn RegEx step by step, from zero to advanced
#18Re: Learn RegEx step by step, from zero to advanced
#19I learn regex just before I need it. Every. Time. After 25 years, it just doesn't stick.
Re: Learn RegEx step by step, from zero to advanced
#20>Regular Expressions, abbreviated as RegEx or RegExp, are a string of characters created within the framework of RegEx syntax rules. You can easily manage your data with RegEx, which uses commands like finding, matching, and editing. Regex can be used in programming languages such as Phyton, SQL, Javascript, R, Google Analytics, Google Data Studio, and throughout the coding process. Learn regex online with examples a…
Imo replacing several nested if statements with a single esoteric regex is not necessarily a win. It depends on if pattern matching is really the best tool for the job.