[Solved] Simple regular expression to determine login and password from a line

[ad_1]

Why not just split/explode on ; and get the relevant pieces?

If you insist on a regex, just use this:

/;(.*?);;(.*)/

The first subpattern will be the username, the second subpattern will be the password.

[ad_2]

solved Simple regular expression to determine login and password from a line