Ask a Question related to ASP.NET General, Design and Development.
-
powerranger #1
string
I have a string like "abc hello world abc ri3eroefjdfjdfjdkffkfdjf".
If I want to use Regular Expression to split/extract whatever is
between abc, how I can do this? Please help! Thanks.
powerranger Guest
-
Maintain query string and somehow auto refresh a pagewith that string intact
I have a drill down where on page one the user selects criteria to narrow down the search for a speicific group of employees(like all hired between... -
#7056 [Com]: Setting string variables to value starting with '<' cause string to be empty.
ID: 7056 Comment by: davidgjenkins at ntlworld dot com Reported By: tammy at synchronis dot com Status: Closed... -
string question: how to append x zeros to get fixed lenght string?
"Bob Barrows" <reb_01501@yahoo.com> wrote in message news:uuhVv4mcDHA.656@tk2msftngp13.phx.gbl... newstring = Right("0000000" & i,8) ;-p -
Cannot create an object of type 'System.String[]' from its representation 'String[] Array'
Hello, I am designing a .net custom control in VS.net 7.1 and my control exposes an array of strings which are supposed to be the items to show. To... -
String question: Returning portion of string with words surrounding highlighted search term?
I'm looking to find or create an ASP script that will take a string, examine it for a search term, and if it finds the search term in the string,... -
James J. Foster #2
Re: string
One option is to use capturing groups to pull out the section, using a
regular expression like so:
abc(.*)abc
The parens will create a group that you can later extract explicitly. See
here for code on using Matches and Groups
[url]http://www.dotnetcoders.com/web/Learning/Regex/groups.aspx[/url] . Note in this
case, the regex parser will be greedy if multiple abc's are present.
James J. Foster, DotNetCoders
[url]http://www.dotnetcoders.com[/url]
"powerranger" <tangolp@yahoo.com> wrote in message
news:13bc95e0.0306260932.19406582@posting.google.c om...> I have a string like "abc hello world abc ri3eroefjdfjdfjdkffkfdjf".
> If I want to use Regular Expression to split/extract whatever is
> between abc, how I can do this? Please help! Thanks.
James J. Foster Guest



Reply With Quote

