Tagged Questions

1
vote
4answers
444 views

Regular expression to allow numbers between 1 and 100

How can I create a regular expression to allow numbers between 1 and 100?
0
votes
2answers
218 views

Addition, subtraction in regular expressions

I am trying to do a credit card checksum using regular expressions. Is that possible? If so how do reg exp. use addition and subtractions?
0
votes
1answer
59 views

Preg_match NEED SOME HELP ON THIS…

Hey.. I have some hard time finding the * in the value... The preg_match should find it. Here is the code... I have put it in a value the * and preg_match should find it, and if i …
0
votes
1answer
77 views

Get all SRC attributes

I'm parsing HTML in PHP and need to get all SRC attributes of IMG tags. If possible - only find SRC attributes that do not start with http:. I can get all IMG tags using the follo …
0
votes
1answer
84 views

How to get feed url from blogspot

i say that if i have a blog @ http://anirudhagupta.blogspot.com/ so how can i get his feed url dynamically by using regex in asp.net c#
0
votes
2answers
164 views

Regular expression to split space separated string

I need a regular expression to split space separated string. PHP and Javascript examples please.
0
votes
1answer
72 views

regular expression to extract destination attribute in the <a> tag.

From this tag i need to extract only the destination attribute i.e please help me by providing php regular expression code.
0
votes
0answers
17 views

To find the correct regular expression

I have a set of urls in an array,i need to separate the urls in a particular format. For eg: i have a url like /companies/212154/........./.......html. in the array. there is other …
0
votes
2answers
35 views

regexp odbc_result() php

Hello, I want to use regexp to check if +314 exsist in my odbc (mssql) database. How can i do this? Here is how i think it should work: $regexp = "+314"; $res = odbc_result($resu …
0
votes
2answers
38 views

php email parameters

Hi, I am new to php and trying some code for if I were validating an email address. This is what i have so far but it is returning the error "Parse error: parse error in C:\Program …