Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- text = 'so foo is the opposite of bar but without foo there is no bar?'
- exp = '(foo).*?(bar)'
- searched = cre.research(exp, text)
- print(searched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement