Thanks a lot for yours both answers wink

In fact, the examples i've given are just extracts of more complicated $regsub & $regex pattern (for the 1st point, i will search another solution that $regml() ), but for the 2nd issue, i haven't thought about an $iif() condition, thx for the idea, i will try that wink


-Be cool with my English-
irc.EpiKnet.org:#scripts