30th Jul 2020, 10:09 AM
Mr. 12
Mr. 12 - avatar
7 Respuestas
0
Mr. 12 Use this instead. regex = 'w{3}\.\w+\.[a-z]{2,3}' find = re.findall(regex, x) print(find)
30th Jul 2020, 11:11 AM
Tomiwa Joseph
Tomiwa Joseph - avatar
0
Tomiwa Joseph bro, My Code is working just by replacing findall with search. why?
30th Jul 2020, 11:17 AM
Mr. 12
Mr. 12 - avatar
0
yes, Tomiwa Joseph but your pattern is extracting .comcom also
30th Jul 2020, 11:22 AM
Mr. 12
Mr. 12 - avatar
0
bro Tomiwa Joseph it is showing error after adding y.group()
30th Jul 2020, 11:26 AM
Mr. 12
Mr. 12 - avatar
30th Jul 2020, 11:28 AM
Mr. 12
Mr. 12 - avatar
0
Mr. 12 My first answer ☝️☝️
30th Jul 2020, 11:34 AM
Tomiwa Joseph
Tomiwa Joseph - avatar
0
Tomiwa Joseph can u please explain me that
30th Jul 2020, 11:36 AM
Mr. 12
Mr. 12 - avatar