I have a string like this :
EQ=ENABLED,QLPUB=50,EPRE=ENABLED
how can I ignore, the value of QLPUB? Actually I want to check this string in 3000 lines but I want to ignore 50.
is there any way to ignore it, for example with java regular expression or %s or … ?
If value of QLPUB is always numeric you can use the following regex:
Here’s an example:
If the value of QLPUB is anything but a
,change the regex to: