I'm trying to find strings using this simple regex on TextMate but it's not matching anything: <a.*href=".*">

It's weird because I tried on sits like regexpal and it's indeed fine..

1 Answer 1


In textMate 2, that regex is working just fine in the find dialog.

Make sure you've got the "Regular Expression" box checked

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.