PyDocs

Nav

Text Processing Services

Pattern.subn

re

method of Pattern
  • Pattern.subn(repl, string, count=0)
Return the tuple (new_string, number_of_subs_made) found by replacing the leftmost non-overlapping occurrences of pattern with the replacement repl.
0 Examples
No examples for re/Pattern.subn.
See Also
No see-alsos for re/Pattern.subn
0 Notes
No notes for Pattern.subn