python get substring between two specific words 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))