[英]How to get specific characters using Regular Expression in Python
I got a string with email format, like我得到了一个 email 格式的字符串,比如
james@gmail001.com
How could I get the substring 001
?我怎样才能得到 substring 001
? Even more, how to using a function to return a email with cumulative 001
?更重要的是,如何使用 function 来返回累积001
的 email ?
Like each execution of the function and return different results like james@gmail001.com
james@gmail002.com
james@gmail003.com
Like each execution of the function and return different results like james@gmail001.com
james@gmail002.com
james@gmail003.com
Thanks~谢谢~
I got a string with email format, like我得到了一个 email 格式的字符串,比如
james@gmail001.com
How could I get the substring 001
?我怎样才能得到 substring 001
? Even more, how to using a function to return a email with cumulative 001
?更重要的是,如何使用 function 来返回累积001
的 email ?
Like each execution of the function and return different results like james@gmail001.com
james@gmail002.com
james@gmail003.com
Like each execution of the function and return different results like james@gmail001.com
james@gmail002.com
james@gmail003.com
Thanks~谢谢~
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.