I've got a regex "fiddle" up at https://regex101.com/r/5uf7fK/1
I have two examples
Name: [TEXT|enter your name here]
Type of tenancy: [RADIO|This is a periodic tenancy,This tenancy ends on [TEXT|enter date]]
Code (markup):
preg_match_all("/\[([^\]]*)\]/", $block, $matches);
PHP:
Regex is trimming off too many characters - sometimes
from PHP https://ift.tt/3bu9uy0
via IFTTT
0 Comments