I have 3 type payment ( online, offline, by balance) every payment type have different url so I'm using regex for match all this url :
1- order/checkout/unpaid/done
2- order/checkout/paid/done?Authority=000000000000000000000000000039067905&Status=OK 3- order/checkout/paid/done?Status=OK
regex : (.*?)done
this regex match all of urls but the problem is it match some page too ! kile this product page :
/tork-doner-motahari-tehran
What is the solution ?