Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
regex python example
jxsl13
Aug 21st, 2019
218
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
#!/usr/bin/env python3
import
re
s
=
"it ends-in-ing wow"
match
=
re
.
search
(
r
"[
\s
]+([
\w
\-
]+)[
\s
]+"
,
s
)
if
match:
print
(
match.
group
(
1
)
)
else
:
print
(
"Nothing found."
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Free Crypto Method (NEVER SEEN BEFORE)
JavaScript | 7 sec ago | 0.26 KB
⭐ Instant Profit Mehtod ⭐ S
JavaScript | 9 sec ago | 0.31 KB
✅ MAKE $900 INSTANTLY
JavaScript | 11 sec ago | 0.26 KB
⭐Swapzone Glitch (Working)⭐⭐ Z
JavaScript | 15 sec ago | 0.31 KB
✅ MAKE $500 IN 15 MIN
JavaScript | 16 sec ago | 0.26 KB
⭐ MAKE $50O IN 15 MIN⭐⭐ O
JavaScript | 23 sec ago | 0.31 KB
⭐ Free ETH Method ⭐⭐ R
JavaScript | 30 sec ago | 0.31 KB
⭐⭐⭐Exploit 500$ in 15 Minutes⭐⭐⭐
Java | 31 sec ago | 0.06 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!