You are viewing limited content. For full access, please sign in.

Question

Question

quickfields pattern match remove new lines

asked on May 2, 2016

In quick fields from this text

Corporation of the Town of Huntsville
SPECIAL COUNCIL
Meeting held on Wednesday,

I am trying to grab "SPECIAL COUNCIL" (it wont always say that)

I am currently using 

(?:of Huntsville)([^\a]*)(?:Meeting held)

That leaves me with new lines at the start and end of the token, which are no good, how can I remove those in this pattern.

 

Thanks

0 0

Replies

replied on May 2, 2016

Add them into the excluded characters in the pattern: (?:of Huntsville)[^\n\a]*)(?:Meeting held)

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.