https://www.mydomain.com/store/taobao/12345454/
https://www.mydomain.com/store/pdd/4564454546/
https://www.mydomain.com/store/jing-dong/4165475115/
https://www.mydomain.com/store/vip-buy-3/4615415165/
The back of the store with the first directory is a shop name, there are Numbers, letters, and -
The second directory is a string of random Numbers, no other characters
Please help me to write a regular expression
CodePudding user response:
Https:\/\/www\.mydomain\.com \/store \ [a zA - Z0-9 -] + \ \ d + \/