Regular Expressions 101

Get text after parenthesis.

1

Regular Expression
Python

r"
(?<=\)\s).*
"
gm

Description

This regular expression helps to get the strings of a line that comes after a parenthesis and a blank space. Could be useful with lines of text with or similar format of the APA citation style: Author (year) title

Submitted by anonymous - 6 months ago