zswanson1
Offline
Last seen: 5 years 7 months ago
Joined: 07/12/2016 - 11:38
In the original field there were more than one occurence of six digits so you could try an if statement to catch the remainder where spaces don't exist:
@strip(@if(@regexpr(notes, "\s[0-9][0-9][0-9][0-9][0-9][0-9]\s")="", @regexpr(notes, "[0-9][0-9][0-9][0-9][0-9][0-9]"),@regexpr(notes, "\s[0-9][0-9][0-9][0-9][0-9][0-9]\s")))
Or you could use caret or dollar sign
Pages