House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / Regular Expressions (RegEx)

regex for twitter style URL

Author:
Andy Jarrett
07/04/2009 10:10 PM

Hi I am trying to do a mod_rewrite for twitter style username urls to http://myurl.com/andyjarrett would go to http://myurl.com/index.cfm?user=andyjarrett So far I have RewriteRule ^(((?!user|index.cfm))*.?)*$ index.cfm?user=$1 [L,QSA] But this just isnt working. Anyone done this or can help? Thanks, Andy Jarrett www.andyjarrett.co.uk


Search regex

February 11, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29