be your best bet. I'm in the process of learning them myself but there's a regex library here:<BR>http://regexlib.com/<BR><BR>and here's a brief tutorial:<BR>http://www.brettb.com/VBScriptRegularExpressions.asp
Regular expressions can't "count". Is it a particular string that you're trying to remove multiple occurrences of? If so, I would just search the string for the first occurrence, and then do a replace on the remainder of the string (following the first occurrence) and put the two substrings back together.<BR><BR>If it's any string that you don't want multiple occurrences of, you need to be careful (for instance, strings of length 1 are just characters, so such a non-repeating requirement means you can only use each letter once in the string (including a space)).<BR><BR>Kelly
I don't know anything about those. It must be an implementation enhancement, because certainly - regular languages are not able to count. You need a more powerful language for that.<BR><BR>They sound interesting, I'll have to look into it sometime, but for now, I don't have time.