No, the link to php site is just for see sample output, you can do with formula :
$matches = string\matchAll(......);
$i = 0;
while(
$i < array\length($matches),
(
HERE print $matches[$i];
);
$i = $i + 1;
)
);
EspoCRM RegEX type
Collapse
X
-
Hi,
EspoCRM – Open Source CRM Application. Contribute to espocrm/espocrm development by creating an account on GitHub.
see sample : https://www.php.net/manual/en/functi...-match-all.php
to try :
$matches = string\matchAll(......);
$matches is a array, so in formula script : you need use equivalent foreach
while (length ....). see sample in forum or doc -
Ok, I see. Didn't check the docs because for string/test I dont need them.
I tried your exanple and it looks like it does not like: (?=.*\Buyer\b)
Seem it does not like two ?=.Leave a comment:
-
-
Ok, have to tried to enter the RegEx like this?: (Individual:\s*(.*?)\s(.*?)(?=\n|$)(?=.*\Buyer\b))Leave a comment:
-
Well, not sure if it helps, but I had also an issue with RegEx and an IfThenElse switch.
I used string\test
E. g. I want to test if the input is either the a or b.
The result of a check of a | b was different from (a | b)
The first one always returns false even if a or b is set. The second one returned true if either a or b was set.
So maybe try to put brackets around your whole term.
Leave a comment:
-
Giving this a bump, no one know? Or is the setting correct and it just EspoCRM don't full support PCRE2?Leave a comment:
-
EspoCRM RegEX type
Anyone know what Regular Expression type does EspoCRM use?
I use regex101.com to test and some regex work and some doesn't. It obviously I'm using the wrong setting so it to be expected.
For example:
Using this regex in RegEx101 work fine, but if I use it in EspoCRM I don't get a match. Need to know which setting I should be using to be compatible with EspoCRM. Thank you.
Website: https://regex101.com/
Link to example: https://regex101.com/r/vctwJB/1
Screenshot of it:
Fail to output:
Tags: None
Leave a comment: