I have a RegEx Mask like:
Код: Выделить всё
(?.*) - (?Start|End) (?\w*) - (?[0-9-]{10})(?: - (?.*))? ex: etl=Foo date=2024-03-09
I want to fill the mask with the value for obtain the sentence: "ETL_LOAD - Start Foo - 2024-03-09"
There is a way in java?
Thank You
I extract values with RegEx from a sentence (ex.: Start) and I need to compose the sentence for find the End: "ETL_LOAD - End Foo - 2024-03-09" for find "ETL_LOAD - End Foo - 2024-03-09 - Outcome OK" than I can't use Formatter.
Источник: https://stackoverflow.com/questions/781 ... with-field
Мобильная версия