Hi all,
I'd like to search for regex pattern within file content, to perform classification based on the result.
Example:
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 ?
Thanks,
Vincent