We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
import re Str = "we need to inform him with the latest information" for i in re.finditer("inform.", Str): locTuple = i.span() print(locTuple)