Hi,
I've downloaded Expresso and tried this Regex you've written, it works, I'm just amazed, you are great, thank you.
Just have a question. What if I would like for example in this place:
(?<ADDRESS>[A-Z]+)?
return custom text in place of match from the input. So I would like for example if this is matching:
(?<LETTER>[LC])(?<FIRST_NAME>LOCAL|MULTI)(?:@(?<LAST_NAME>[A-Z_]+?)@)?_(?<ADDRESS>[A-Z]+)?_(?<SEX>[a-z_]+)
return as ADDRESS not match from input text, but my own very custom text say for example: Unknown
I've tried something like this (silly one):
(?<LETTER>[LC])(?<FIRST_NAME>LOCAL|MULTI)(?:@(?<LAST_NAME>[A-Z_]+?)@)?_(?<ADDRESS>Unknown)?_(?<SEX>[a-z_]+)
Obviously it doesn't work because it tries to match 'Unknown' string, so what to do to return my own text in this match?
Kind regards, thanks again!