Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
python re findall failing
kabads
Dec 16th, 2023
74
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
>>> import re
>>> searchstr = re.compile(r'one|two|three|four|five|six|seven|eight|nine')
>>> mystring = "onetwonej"
>>> re.findall(searchstr, mystring)
['one', 'two']
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
FREE BTC GUIDE U
JavaScript | 6 sec ago | 0.06 KB
Make $200 in 15 minutes 1
JavaScript | 22 sec ago | 0.06 KB
Make $200 in 15 minutes M
JavaScript | 40 sec ago | 0.06 KB
MAKE $900 INSTANTLY 3
JavaScript | 57 sec ago | 0.06 KB
✅ MAKE $12OO IN 10 MIN R
JavaScript | 1 min ago | 0.06 KB
MAKE $900 INSTANTLY F
JavaScript | 1 min ago | 0.06 KB
Make 1500$ in 20 MIN [Method] M
JavaScript | 1 min ago | 0.06 KB
✅ MAKE $12OO IN 10 MIN K
JavaScript | 1 min 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!