18 Réponses
+ 21
I also recommend getting familiar with tools like www.regex101.com to validate efficient patterns and running against a set of positive and negative tests.
+ 14
You have some starting tools in the python lesson here on SL.
I suggest you to learn those, and once you did, try to answer assignments where strings are involved in the assignments section. You'll sometimes need to google for new tools and the web forest is full of them : )
Practice and practice ...
+ 12
There also are these interactive tutorials with progressive exercises :
https://regexone.com
https://regexcrossword.com
+ 10
I made a regex quiz a while back if you want to check it out 😊 And also this password strength checker code use some regex.
I also highly recommend this site https://regexr.com . I use it when making complicated regex patterns, it's a really good tool.
https://code.sololearn.com/c70AOZqwgRg2/?ref=app
https://code.sololearn.com/cGiP2gpu0Qn1/?ref=app
+ 8
I think it's important to realize that regular expressions are the same in all languages.
+ 7
Roy There are a few differences in feature support and in implementation.
Check out the comparisons in both Part 1 and Part 2 of this link:
https://en.m.wikipedia.org/wiki/Comparison_of_regular_expression_engines#Language_features
+ 6
Lisa F For the most part, you are correct. There are some features of regex available in some languages that aren't available in others.
+ 5
i am watching also tutorials on youtube for better understanding
+ 5
@Al . Please which is the best tutorial video to watch on youtube because i 've tried many but i haven't find one that i click with yet
+ 4
Ray try this maybe it helps you https://youtu.be/K8L6KVGG-7o
+ 4
I suggest that you should always try your self on any assessment given to you on solo learn according to the example given
+ 2
Просто покупаешь книги по python и читаешь,практикуешься
+ 2
@lisa F thanks for the answer I just wanted to ask that question meaning a regular expression that works in JavaScript can also work in python
+ 2
You can go to the apps learn shelf. And learn Python
+ 2
Learn them on the Python3, then practice
+ 2
Here is a very helpful video:
https://www.youtube.com/watch?v=K8L6KVGG-7o
0
Google for some regex problem, Code by yourself