Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Doug Drudik

Member since 5/24/2007 1:28:29 AM
Last visited 3/21/2012 2:58:35 PM
Timezone
The timezone the user resides within.
-6 GMT
Location USA
Occupation
Interests
Birthday  
Website http://www.myregextester.com/
Blog
Gallery

Post signature

Signature

About Doug Drudik

Sorry, no bio is available

Post statistics and rank

Total Posts 2,089 // Post Rank 1 //

Shared Favorites

Favorite Users

Username Total Posts Post Rank Actions
This user has no favorite users to share.

Favorite Posts

Subject Excerpt
Re: Match 4 successive letters in the alphabet  Here are those patterns cut-and-paste ready, just select the number of consecutive letters you want to match: To match 2 consecutive lowercase letters: (?:ab|bc|cd|de|ef|fg|gh|hi|ij|jk|kl|lm|mn|no|op|pq|qr|rs|st|tu|uv|vw|wx|xy|yz) -------------------------------------------------------------------------------- 
Re: Match text outside of links  Try: phrase to match(?!((?!</?a\b).)*</a>) This extends the check to make sure that the outer negative lookahead is only interested in the "<a...>" or "</a>" tags rather than the beginning of any tag as in your 
Re: Need an expression to validate numeric digit is sequential and sort ascending(desc) ,such as 123456 , 456789 are valid .  prometheuzz: Ah, a "curiosity-cabinet-regex", I like those! ; ) Here's mine: ^( (0(?=1|$))?((?<=0|^)1(?=2|$))?((?<=1|^)2(?=3|$))?((?<=2|^)3(?=4|$))?((?<=3|^)4(?=5|$))?((?<=4|^)5(?=6|$))?((?<=5|^)6(?=7|$))?((?<=6|^)7(?=8|$))?((?<=7|^)8(?=9|$))?((?<=8|^)9)? 
Re: php, preg_replace  =(?=(?:[^<>]*<[^>]+>[^<>]*)+$|[^<>]*$) (original pattern by killahbeez) or =(?!(?:(?!<).)*>) (original pattern by Aussie Susan) if you enable singleline option or within PHP if you are performing a replacement you could 
Re: Recursive Match Question  mash is correct, that would take code beyond just the preg_ functions: <?php $sourcestring="{happy} sometext sometext sometext {test {zebra} test} sometext sometext sometext {apple {red {crunchy}}} sometext {yay}"; echo "<pre>$sourcestring<hr>"; 
Re: Regular expression to find strings prefixed with odd number of a hash(#)  Try: (?<!#)(?>(##)*)#[^#]+ or (?<!#)(##)*#[^#]+ You can add whatever other criteria are necessary to find the end of the match. BTW, the reason you don't match "#param1" is that your lookbehind requires at least 1 match of the '(##)' 
Re: search for word not in tags- replace with link  limo(?=([^<>]*<[^>]+>[^<>]*)+$|[^<>]*$)(?=((?!<body).)*</body>) Unfortunatelly it doesn't work with HandyFile 

Favorite Sections

Name Description
This user has no favorite sections to share.

My Blogs

    You are not currently an owner of any blogs.

My Galleries

    You are not currently an owner of any galleries.