i want to find a substring ‘s index postion,but the substring is long and hard to expression(multiline,& even you need escape for it ) so i want to use regex to match them,and return the substring’s index,
the function like str.find or str.rfind ,
is there some package help for this?
i want to find a substring ‘s index postion,but the substring is long and
Share
Something like this might work:
Then: