little example shows up what I mean.
$text = "I try ü ä ö working with 'Text' Wordtext" If _checkWord($text, "'Text'") Then MsgBox(0, "", "'Text' found") If _checkWord($text, "Text") Then MsgBox(0, "", "Text found") If _checkWord($text, 'ü') Then MsgBox(0, "", "ü found") If _checkWord($text, 'ä') Then MsgBox(0, "", "ä found") If _checkWord($text, 'ö') Then MsgBox(0, "", "ü found") Func _checkWord($string, $word) If StringRegExp($string, '\b' & $word & '\b', 0) Then Return 1 Return 0 EndFunc ;==>_checkWord
In Regexbuddy it works that way!
So long,
Mega
Edited by Xenobiologist, 26 December 2007 - 03:36 PM.





