58 posts tagged regular expressions
Subscribe-
Call For Submissions
http://logolalia.com/ regex/ ?p=1This site is now officially open for submissions of prose and poetry connected with the use of regular expressions as a system of poetic notation. Length is open, format is open. Please send all submissions to regex at logolalia dot com.
-
Open Links to a Different Site in a New Window with Prototype
http://blog.ninedays.org/ 2008/ 05/ 20/ open-links-to-a-different-site-in-a-new-…While working on the Prototype script to change rel external to target blank I thought it would be kind-of neat to have another function that would detect external links and set them to rel="external" before all the rel="external" links get target="_blank" added to them. So I made it.
-
Regular Expressions
http://sidesinger.com/ blog/ ?p=102I found the following regular expression sites extremely helpful. I seem to be doing RegEx quite a bit lately and I never seem to memorize all the rules about them. Plus you have to test them. RegExPal - Visual real time RegEx testing Mozilla RegEx Guide - pretty near complete Regular Expression
-
Processing.js
http://computer-internet.marc8.com/ processing-jsJohn Resig (of jQuery fame) has ported the Processing visualization language to JavaScript. The examples are remarkable, check them out (but check the browser issues John discusses). John has a little confession: The first portion of the project was writing a parser to dynamically convert code written in the Processing language, to JavaScript.
-
Finicky Configuration.RegexStringValidator
http://blog.jessemandel.com/ 2008/ 05/ finicky-configurationregexstringvalidat.h…I was working on a custom ConfigurationElement for an HttpModule and I needed two properties. They both needed to be in the form of a URL (but only the host) and one was required. Regular expressions are a great tool for easily verifying a string is in a certain format and Microsoft was nice enough to include the RegexStringValidatorAttribute.
-
Replacing whole words in strings in PHP
http://chumby.net/ 2008/ 05/ 15/ replacing-whole-words-in-strings-in-php/I was recently tasked with creating a simple dirty word filter in PHP that relies on our blacklist of about 600 words. The filter should simply replace the word with its character length in asterisks. My first attempt just used str_replace, but I quickly realized that even dirty words embedded in clean words would get filtered.
-
FREE K-PREGS (KAI PERL REGULAR EXPRESSIONS)
http://www.salvogroup.com/ free-k-pregs-kai-perl-regular-expressions/FREE K-PREGS (KAI PERL REGULAR EXPRESSIONS) May 14th, 2008 Free K-Pregs (Kai Perl Regular Expressions) K-Pregs is a accumulation cursive in PHP. It comes with a clump of functions attendant to Regular Expressions. With this accumulation you no individual requirement to see those fantastic Regular Expressions.
-
Blocking email by country without a blacklist with sendmail
http://www.myptsmail.com/ blog/ ?p=106In keeping you informed about the upcoming release of the PTSMail Utilities today we will look the block by whois test. This test can be performed at connect phase with sendmail or the recipient phase. This test allows you block email based on any information in a whois query using regular expressions.
-
flex regular expressions
http://techy.brindy.org.uk/ 2008/ 05/ flex-regular-expressions.htmlI really like how you can inline regular expressions in Flex. For instance: var split:Array = someString.split(/\./); which will of course split "someString" using "." as a delimeter. Of course, all that's really happening is that the regular expression is being converted to an object by the
-
Replacing \n With \r using the Regex.Replace
http://blogs.msdn.com/ zainnab/ archive/ 2008/ 05/ 12/ replacing-n-with-r-using-…Replacing \n With \r using the Regex.Replace Here is a question i received the other day from one of victims (Nick): ==== I've been watching the recordings of your webcasts on regex (just about to see no. 7) one query that I have is how to include metacharacters in the replacement string.