|
|
Browse by Tags
All Tags » regexp
Showing page 2 of 7 (63 total posts)
-
Hey all,
Before I start, I just want to say that below you will find a modifier of "U". I know a lot of people say this should not be used, so if there is a way that my issue can be resolved where the U modifier won't be needed, great!
Language: PHP (4)
Users submit content via a wysiwyg ...
-
I ran into an interesting situation where back references overwrite previous changes in a regular expression.
I needed a regular expression that updated a pattern but also checked for something that comes before the pattern. It should leave everything before the pattern as it was before the updates. There can be multiple matches of ...
-
I need a regex that matches a string containing 6 alpha, 2 alphanumeric and 3 OPTIONAL alphanumeric, upper and lower case. I need this for validating strings in ASP.net 2.
Eg:.
abcdefab345
abcdef22
abcdef5e
abcdef3ee5e
abcdef55asd
abcdefr5
and should not match
abcs
abcd34d3
abcdef23f
abcdefd
abcdef
-
I am using Java's regular expression library.
I need to extract the common name from an active directory's distinguished name for a user. I have the String representation of a user's distinguished name. The only portion I need or care about is the common name. I am trying to write a regular expression that will extract that ...
-
Hello
I have to parse a SQL INSERT statement to get all the values to include in the database.
I thought that a regex should exist to do this, and I found this very nice regex (http://regexlib.com/REDetails.aspx?regexp_id=1750) :
(INSERT ...
-
I need to break the following string into seperate 8 seperate groups
"key:val:key:val:key:val:key:val"
I really want to avoid using this ugly regex
([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*):([^:]*)
So i've tried using a passive group and a quantifier
(?:([^:]*):){1,6}([^\s])+
The problem is that ...
-
Hi,
I have a validation criteria which says:
a number cannot start with "000" which is 9 digits in length. And it needs to be in one expression.
Can somebody help me in writing a regular expression for this?
Thank you
-
OK. Stick with me here. It is going to take me a few to explain this.
I am writing a small application in VB.NET. The ultimate task is to make a web browser, within a web browser. Basically, You open IE, FireFox, Safari, or whatever browser you like and go to the web application I am building. At the top of the web page, I have a tool bar, ...
-
Hi,
I need to create a system that if a user signs up it will check if this user is already signed up.
it will check sometimes by phone number
somtimes on address and firstname
sometimes on addres and lastname
sometime on lastname and city and address.
sometimes for the customer ID.
so how would I use regex to check if there is a similar ...
-
Hello everybody,
I almost feel bad about writing here - but I really tried for days now. I need a string filtered (matched) from a string like this:
@s My Company Ltd@o My-Street-adress 123@o New York@pt 123-35-144@t Mobile@pt 593-1195-1395
I am trying to filter out the company´s name (which always is from the beginning of ...
2 ...
|
|
|