Hi there,
Although I've tried to understand Regex logic in BRU volume II, I'm overwhelmed by the thing..
I'm after something that look quite simple, but can't acheived it with basic BRU basic functions. Need to go Throught RegEx.
What I'm after :
Crop everything that come after a specifics words (NoteE or NoteP) BUT keep the following caracters (_ok) if the appear in the string.
List example :
A3_ARC-2005_H21_NoteE_BeatriceTellier_13115_ok.pdf
A3_ARC-2005_H21_NoteE_ouelletvincent_13115.pdf
A3_ARC-2005_H21_NoteE_fillionMichaël_13115_ok.pdf
A3_ARC-2005_H21_NoteP_dupitonDinah_13117_ok.pdf
A3_ARC-2005_H21_NoteP_MarceauRaphaelle_13117.pdf
...
should be:
A3_ARC-2005_H21_NoteE_ok.pdf
A3_ARC-2005_H21_NoteE.pdf
A3_ARC-2005_H21_NoteE_ok_1.pdf
A3_ARC-2005_H21_NoteP_ok.pdf
A3_ARC-2005_H21_NoteP.pdf
...
Kindly,
-CC