how to get string inbetween two substrings python code example
Example: python read string between two substrings
import re
s = 's1Texts2'
result = re.search('s1(.*)s2', s)
print(result.group(1))
import re
s = 's1Texts2'
result = re.search('s1(.*)s2', s)
print(result.group(1))