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>
...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_22439891.html
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...
http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_23054387.html
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...
http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_23082414.html
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...
http://www.experts-exchange.com/Programming/Languages/Regular_Expressions/Q_23139516.html
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...
http://www.experts-exchange.com/Programming/Languages/Regular_Expressions/Q_23234393.html
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.
http://www.experts-exchange.com/Programming/Languages/.NET/Visual_CSharp/Q_23336181.html
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...
http://www.experts-exchange.com/Programming/Languages/Regular_Expressions/Q_23440053.html
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?
http://www.experts-exchange.com/Programming/Languages/Regular_Expressions/Q_23479893.html
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...
http://www.experts-exchange.com/Programming/Languages/Regular_Expressions/Q_23480108.html
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
http://www.experts-exchange.com/Programming/Languages/Regular_Expressions/Q_23540422.html