# RegExp question

**URL:** <https://forum.kirupa.com/t/regexp-question/282364>\
**Category:** web dev\
**Created:** [February 20, 2009, 8:21pm UTC](https://forum.kirupa.com/t/regexp-question/282364 "2009-02-20T20:21:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![koolkrasher](https://avatars.discourse-cdn.com/v4/letter/k/c6cbf5/32.png) [@koolkrasher](https://forum.kirupa.com/u/koolkrasher)\
**Post date:** [February 20, 2009, 8:21pm UTC](https://forum.kirupa.com/t/regexp-question/282364/1 "2009-02-20T20:21:22Z")

</div>

im trying to wrap my head around regular expressions in js and php. So for a self test i figure id try to remove a html link from a email submission. Getting r rid of everything from \<a to a\> and everything in between but for some reason no dice.

any one ever do this or know a good way to go about it?
