RegEx Python Code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

RegEx Python Code

Anyone can describe one of the lines logic ? https://code.sololearn.com/cLU7x55B6cbE/?ref=app

18th Apr 2020, 1:43 PM
NIMA
NIMA - avatar
1 Answer
+ 3
Everything you need to know about it should be on that page. You could also try going through the regex course. re.sub(pattern, replace, string) https://docs.python.org/3/library/re.html
18th Apr 2020, 3:00 PM
ChaoticDawg
ChaoticDawg - avatar