Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
re_example
go6odn28
Feb 14th, 2024
233
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
import
re
string
=
"a1a1a1b11b1c1cc2c2ytyty23"
pattern
=
r
"
\d
+"
print
(
re
.
findall
(
pattern
,
string
)
)
#['1', '1', '1', '11', '1', '1', '2', '2', '23']
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
✅ API Glitch (Docs Leak)
CSS | 13 min ago | 0.45 KB
I made $15,000 in 2 days
CSS | 13 min ago | 0.45 KB
This summer smells like money
CSS | 14 min ago | 0.45 KB
HELLO PROGRAMMER
1 hour ago | 0.03 KB
Untitled
5 hours ago | 2.26 KB
FB2600 User Handbook v0.91
1 day ago | 6.06 KB
FB2600 Administrator & Moderator SOP
1 day ago | 8.13 KB
Untitled
1 day ago | 7.38 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!