Posted By

supermauerbros on 02/24/10


Tagged

regex dreamweaver


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

benrudolph


Dreamweaver Find A-Z Text Regex


 / Published in: Regular Expression
 

  1. </?[A-Za-z]+[^>]*>[A-Za-z]+</?[A-Za-z]+[^>]*>
  2.  
  3. Finds <tag>Word</tag>
  4.  
  5.  
  6. </?[A-Za-z]+[^>]*>[A-Za-z/ ]+</?[A-Za-z]+[^>]*>
  7.  
  8. Finds <tag>Words with spaces</tag>
  9.  
  10. OLD AND BUSTED:(</?[A-Za-z]+[^>]*>)([.:_?/=A-Za-z/ ]+</?)([A-Za-z]+[^>]*>)
  11.  
  12. (<[^>]+>)((?:[a-z].*?[a-z]+))(<[^>]+>)
  13.  
  14. Finds <tag>Words with spaces, periods, colons, ?marks and = signs</tag>
  15. They are grouped as $1, $2, $3

Report this snippet  

You need to login to post a comment.