Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How to use PAGE_URL with RegEx? #129

Open
Smorvel opened this issue Nov 12, 2022 · 3 comments
Open

[Question] How to use PAGE_URL with RegEx? #129

Smorvel opened this issue Nov 12, 2022 · 3 comments

Comments

@Smorvel
Copy link

Smorvel commented Nov 12, 2022

https://alitools.io/en/showcase?search={%PAGE_URL|replace:/(\d+)/$1/g} - is not working

Expected Effect

  • Replace this
    https://www.aliexpress.com/item/4000563108664.html
  • to this
    4000563108664
  • and get
    https://alitools.io/en/showcase?search=4000563108664
@Pitmairen
Copy link
Owner

This is not possible at the moment, the replace converter only works with the selection placeholders.

@Smorvel
Copy link
Author

Smorvel commented Nov 14, 2022

@Pitmairen Thanks for the answer =) So it's a suggestion then.

@Pitmairen
Copy link
Owner

Yes, it makes sense for it to work with the other variables too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants