I am a regex noob and I try this for a long time.
case1: postgres://123:123@localhost/123
case2: postgres://123:123@integration/123
I am trying to find a regex that matches after @
and before /
For case 1 will give me localhost, case 2 will give me integration
Thanks!