AnsweredAssumed Answered

search for regular expression within content

Question asked by vincent-kali on Jun 17, 2014
Latest reply on Jun 25, 2014 by vincent-kali
Hi all,

I'd like to search for regex pattern within file content, to perform classification based on the result.
if a file contents a string like 'CUSTOMER XYZ', I want to extract XYZ string (as a variable after CUSTOMER key)
to use it in javascript.

My idea is to that in 2 steps:
- lucene search for 'CUSTOMER'
- apply regex pattern on result files contents (how to do that ?)

Does somebody have a better idea ? any suggestion ?