Find and Capture RegEx Matches In Python
Working on a new thing:
Code
=
=
Results
the brown quick fox
This is the basic way to find and captures regular expression matches in python.
Code
=
=
Results
Entire group: 2017-04-05
Subgroup by index: 04
This is how to do it with a compiled regular expression
Code
=
=
=
Results
Entire match: 2017-04-05
Subgroup by index: 04
Old Notes:
Code
=
=
=
return f
=
=
=
=
=