Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
((([^ ]+) +(me debe) +(\d+) *([^ ]+)? *((del?|por ?e?l?) +(.+))?)|((le debo) +(\d+) *([^ ]+)? *(a ([^ ]+)) *((del?|por ?e?l?) +(.+))?)|((le debo) +(\d+) *([^ ]+)? *((del?|por ?e?l?) +(.+))?(a ([^ ]+))))
"
g

Description

Add debts to Hanzo

Submitted by anonymous - 6 years ago