Enter Keywords:
1 - 10 of 61(0.006 seconds)
Sort By:
 
I am working with regular expressions in C++.  I am new to implementing regular expressions in C++. As of now, I have the code: #include <stdio.h> #include <sys/types.h> #include <regex.h> ...
Zones: C++, C, Regular ExpressionsDate Answered: 04/03/2007 Rating: 6.6 Views: 0
Hello, I have a string literal which looks like - {5,9,75,25,1,7} and I would like to validate it as an integer array using regular expressions. Currently I'm using "^[-+]?(\d+)$" to validat...
Zones: C#, ASP.Net Programming, JavaSc...Date Answered: 01/02/2008 Rating: 7.4 Views: 0
I'm having trouble with a regular expression when the source contains a caret (^).  See the expression, input date, actual result and desired result below.  How can I prevent the caret character fr...
Zones: C#Date Answered: 01/17/2008 Rating: 8.2 Views: 0
I attached the text I need to parse. What I need to do is capture each line individually (there should be 4) using regular expressions. Here is the regex I have now: \n.* It will capture everythin...
Zones: Regular Expressions, Progr...Date Answered: 02/05/2008 Rating: 7.6 Views: 0
Hello! I'm trying to compose a regular expression to validate a phonenumber in c#. It must have these rules: - the text contains at least 6 numbers - beside that it may contain one or more o...
Zones: Regular Expressions, C#Date Answered: 03/12/2008 Rating: 8.9 Views: 4
Would love to get the following methods working. They will be used for capitalization etc. Currently, there are bugs in them and I cannot figure out.
Zones: MS Visual C#, ASP.Ne...Date Answered: 05/12/2008 Rating: 9.3 Views: 0
Currently, I use the following regex expression "<[^>]*>" to filter out html content from user comments.  For example, if the text submitted contains "<script language=javascript>alert('this is a t...
Zones: Regular Expressions, C#Date Answered: 05/31/2008 Rating: 9.0 Views: 34
I have a string with a path name eg. 'c:\microsoft\windows\shared'.  I want to pass this string to a reg exp and get the string 'c:\microsoft\windows' back from it.  How do I do this?
 
Related Solutions:
How do I write a regular expression to trim a complex path...

I have a string with a path name eg. 'c:\microsoft\windows\shared'.  I want to pass this string t...

Tags: regular expression c#| Rating: 9.1
 
Zones: Regular Expressions, C#Date Answered: 06/12/2008 Rating: 9.7 Views: 0
I have a string with a path name eg. 'c:\microsoft\windows\shared'.  I want to pass this string to a reg exp and get the string 'c:\microsoft\windows' back from it.  How do I do this? I got a go...
Zones: Regular Expressions, C#Date Answered: 06/13/2008 Rating: 9.1 Views: 0
Hi, The regular expressions provided in the code area are not working as expected. Can anyone help update and tell me why?? Any help appreciated. Thanks for your time. Steve
Zones: Regular Expressions, C#Date Answered: 07/14/2008 Rating: 8.6 Views: 41