[Solved] Looking for Correct Java REGEX for this kind of payload

[ad_1]

"(?s).*(ST\\*214|ST\\*210).*"

In Java you need to enable DOTALL mode (to make . match with line terminators too). This can be done by including (?s) modifier. You had match only in this ST*214*900063730~ particular part of first string.

test

1

[ad_2]

solved Looking for Correct Java REGEX for this kind of payload