Re: Get text "literally" from a TextBox



Patrice,

Maybe you can make a little sample like I did for this problem, using string
methods.

Be aware that any regular expression is very much slower then any direct
method as you don't need more than 10 methods.

Cor

"Patrice" <http://www.chez.com/scribe/> schreef in bericht
news:eUdwQIO3IHA.3544@xxxxxxxxxxxxxxxxxxxxxxx
Usually advanced search/replace capabilities are using regular expressions
rather than a VB Like syntax. See for example the search/replace included
in VS (and it allows much more powerfull scenarios)...


--
Patrice


"Freddy Coal" <freddycoal@xxxxxxxxxxxxxxxxxxx> a écrit dans le message de
groupe de discussion : ehZ4frJ3IHA.5024@xxxxxxxxxxxxxxxxxxxxxxx
Hi, I would like make a search and replace in a file, for that I need get
the text in a textbox, but I need recognyze literally characters of the
user like a commands, for example:

The chain of the user is: "Hello world" & chr(64) & vbcrlf

If I capture the textbox, I get: ""Hello world" & chr(64) & vbcrlf"

But I would like get the string: "Hello world@" & vbcrlf

How make that?.

Thanks in advance.

Freddy Coal




.



Relevant Pages

  • Regex on whole (large) text file
    ... haven't had any luck finding the information I need. ... I need to perform some regular expression search and replace on a large ... a string using the code below. ... very fast, but it gets slower and slower, and as we approach line 4000 ...
    (comp.lang.java)
  • Re: Get regular expression
    ... own tree structure. ... Expression compares a string character-by character, ... regular expression solution, which was about as close as one could get to ... the structure of the hierarchy can be inferred by using ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Get regular expression
    ... regular expression solution, which was about as close as one could get to ... first string. ... explode "ABLATION" and see subnodes of "ENDOMETRIAL ... "Heart 27.33/2" ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Regular expression optimization
    ... position in the replacement array of strings, ... > input string and a MatchEvaluator delegate. ... > The first part required combining the separate Regular Expression strings ...
    (microsoft.public.dotnet.general)
  • Small regular expression parser
    ... the goal was to develop a very simple regular expression parser. ... sets are selected using the % character instead of \. ... into the string of the start of the match and the length of the match. ... Last there are a couple macros to help with captures. ...
    (comp.lang.lisp)

Loading