Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-06-27 20:54
Flavor·Python

r"
(P\w+)\W(P\w+)
"
gm
Open regex in editor

Description

Python program to match if two words from a list of words starting with letter 'P'.

Submitted by anonymous