I am unable to create a regex that detects the following text:
- some text, FIL values, some text
- some text, F.I.L. values, some text
- some text, F.IL values, some text
- some text, FI.L values, some text
- some text, FI.L. values, some text
I have tried many things without success: I have looked at many questions and many webs, these is just a small example:
I have also used pages like: https://regex101.com/ to see results.
Some patterns that are close but incomplete:
(?i)\b([a-z0-9]\.)([a-z0-9]\.)L\b
\b[A-Z](?:[&.]?[A-Z])(?:[&.]?[A-Z])\b
\bF(\\.&)?IL\b
\bF(\\.)?IL\b
[F](?:[\\.&]*[I][\\.&]*[L][\\.&]*)
[F|f][\.]*[A-Z]\.[A-Z]\.
Not sure what I am missing. I have tried using specific characters, also groups, but have failed to do so.
The intention is to capture FIL word and all that is after until the next ,