How to change this regex..??

  • Автор темы Автор темы resz
  • Дата начала Дата начала

resz

Client
Регистрация
24.07.2012
Сообщения
61
Реакции
3
Баллы
0
I dont know if the title was right..so this is the image..

Capture.png


How can i change the regex to choose the right message that has the confirmation email if im using a differrent site to register..
 
So you wanna create another project for another site or what?
 
Just running my template again for other site..use get line to choose site randomly from file when starting the template
 
You need to use regex with project variables. Try to use this variable as regex for finding email:

{-Project.Domain-}

Also you can use something like {-Profile.Login-} to find emails with login details.
There are also some premade regex in drop down.

It's only if you create project for similar sites (similar platform)
Every different site needs new project
 
Последнее редактирование:
  • Спасибо
Реакции: resz
Ok,thanks..will try this..
 
You need to use regex with project variables. Try to use this variable as regex for finding email:

{-Project.Domain-}

Also you can use something like {-Profile.Login-} to find emails with login details.
There are also some premade regex in drop down.

It's only if you create project for similar sites (similar platform)
Every different site needs new project

{-Project.Domain-} To use this variable do you mean i have to create variables that load a domain list?
 
This variable will take domain from URL that opened in instance.

For example if you use as regex {-Project.Domain-} it will input this:

twitter.com

If you have http://twitter.com/login opened
 
Последнее редактирование:
There are two variants for processing: text and HTML. Depends on provider. You can see content of email when you work with it.
 
I use regex {-Project.Domain-} but when run debug it says no such macro in database.??
is there any same attributes in confirmation url (from different site) that can be used for zp to detect it so i can use the same again for any template for different site..?
 
I misled you )
I was away from PC and hadnt ZP in front of me.
Correct variable:

{-Page.Domain-}
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)