Make a pattern element taking one more words

Talk, speculate, discuss, pontificate. As long as it pertains to Hazel.

Moderators: Mr_Noodle, Moderators

Hello,
I've been using the match pattern feature for date format matching successfully, but have now come across a situation where I need to pattern match song names contained in a registration confirmation pdf.

Here is the format
Title:Song Name,

I can to use the "Title:" followed by a custom pattern element to get the song name. However, it'll only grab the first word in the song name.
Meanwhile, many songs have more than one word in their name. How to make a pattern element that'll take one word OR more, whatever is between "Title:" and ","?

Thanks in advance
joannehicks
 
Posts: 1
Joined: Thu Nov 23, 2023 11:40 pm

Use the "anything" element between "Title:" and ","
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Open Discussion