LPS-44798 When possible, create regex pattern once and reuse instead of creating multiple times
LPS-44798 SF