I have a config file containing mysql users just like: MYSQL_ROOT_USER=rootI would like create a java regex to find such entries and just mask the user name (the right side of the = sign. so, the phrase: root should be masked in above example). The desired output:MYSQL_ROOT_USER=xxxBelow is the testing tool I use:http://java-regex-tester.appspot.com/Which regex can achieve this?Thanks,Murat
regex to find user names in config file and mask them
regular expression;java