# Regular Expression

**URL:** <https://forum.kirupa.com/t/regular-expression/261053>\
**Category:** flash\
**Created:** [May 22, 2008, 5:54pm UTC](https://forum.kirupa.com/t/regular-expression/261053 "2008-05-22T17:54:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lunetics](https://avatars.discourse-cdn.com/v4/letter/l/c2a13f/32.png) [@lunetics](https://forum.kirupa.com/u/lunetics)\
**Post date:** [May 22, 2008, 5:54pm UTC](https://forum.kirupa.com/t/regular-expression/261053/1 "2008-05-22T17:54:35Z")

</div>

How to replace white spaces between html tags? I have \<b\>My little text\</b\> and I want to do a RegExp/replace match that returns \<b\>Mylittletext\</b\>. Any other white spaces must be left intact.
