Hi.

I am not very good with regex and looking for some ideas. 

The following regex says if matches

$_RegexString:=\\b(?i)On*

$_t_text=(LONG TEXT CONTAINING) somewhere the word O2FX2I

$_bo_IsFound:=Match regex($_RegexString;$_t_Text;1;$_l_Start;$_l_End)

My regex should be only finding if the word(In this case ‘on’) if the beginning 
of a word in the text(so should find if my regex word was ‘o2' but not ‘on’)

Can anyone guide me what my regex string should have been-my head is hurting:)

Nigel Greenlee


**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************
  • Regex Nigel Greenlee via 4D_Tech

Reply via email to