Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
(?P<first_part>[0-9a-zA-z_.]+\.open\()(?P<file_name>\"[0-9a-zA-z_.]+\")
"
g

Description

match of.open("test.txt");

Submitted by Денис суховерхов - 9 years ago