Hello friend!
It’s difficult to use as-path to control the route because it is complicated and not easy to remember, you can refer to the document Applications of Commonly used BGP Regular Expression and the URL is:
http://tech/article.php/2038
Hope to help you!