Answers for "get whats in between two characters python"

0

python get everything between two characters

import re as regex

s = 'asdf=5;iwantthis123jasd'
result = regex.match('asdf=5;(.*)123jasd', s)

print(result)
Posted by: Guest on January-11-2021

Code answers related to "get whats in between two characters python"

Python Answers by Framework

Browse Popular Code Answers by Language