Hello!
When I'm trying to find some text in another it can be found as a part of word.
For example:
or
I want to find the same text/word:
I thing I should use the RexExp to find characters and digits left and right of HappyPhrase:
Something like this:
Please help with this problem!
Thank you in advance!
When I'm trying to find some text in another it can be found as a part of word.
For example:
Code:
HappyText = "The best [B]cat[/B]alogue."
HappyPhrase = "[B]cat[/B]"
If InStr(HappyText, HappyPhrase) > 0
or
Code:
HappyText = "[B]Log[/B]ging into the cata[B]log[/B]ue."
HappyPhrase = "[B]log[/B]"
If InStr(HappyText, HappyPhrase) > 0
I want to find the same text/word:
Code:
HappyText = "You have a [B]log[/B] of the catalogue."
HappyPhrase = "[B]log[/B]"
If InStr(HappyText, HappyPhrase) > 0
I thing I should use the RexExp to find characters and digits left and right of HappyPhrase:
Something like this:
Code:
[A-Za-z0-9] & HappyPhrase & [A-Za-z0-9]
Please help with this problem!
Thank you in advance!