Thursday, July 21, 2011

Regular expression: find a match when vales are different?

I need a regexp not using (?:(?!\1).)* that matches and expression like: p1=xx,p2=yy when xx is different than yy. For example: p1=12,p2=34 results a match while p1=12,p2=12 results in no match ...

No comments:

Post a Comment