KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to create a regular expression to capture in-text citations. Here's a few example sentences of in-text citations: ... and the reported results in (Nivre et al., 2007) were not representative ... ... two systems used a Markov chain approach (Sagae and Tsujii 2007) . Nivre (2007) showed that ... ... for attaching and labeling dependencies (Chen et al., 2007; Dredze et al., 2007) . Currently, the regular expression I have is \(\D*\d\d\d\d\) Which matches examples 1-3, but not example 4. How can I modify this to capture example 4? Thanks!
Tags (comma-separated)
Save Edits
Cancel