I need a pattern (java regexp) which matches if there is a comma after key or key is at the end of line. i.e it should match both of followings:I need a pattern (java regexp) which matches if
I need a pattern (java regexp) which matches if there is a comma after key or key is at the end of line. i.e it should match both of followings:I need a pattern (java regexp) which matches if