I am very new to using preg_replace and such so please bear with me.
I have few hundreds line that contains this line
<strong>[*<a title="*" name="*"></a>]</strong><br /> Lorem ipsum
* on above code denotes that number such as 1,2,3
What i want to achieve is that
*. Lorem Ipsum
Example, 1. Lorem ipsum, 2. Lorem ipsum
What would be the best way to achieve it? Thanks.
sample text
<strong>[1<a title="1" name="1"></a>]</strong><br /> Lorem ipsum 12345<br /> <strong>[2<a title="2" name="2"></a>]</strong><br /> lorem ipsum asdasd<br /> <strong>[3<a title="3" name="3"></a>]</strong><br /> lorem ipsum asdsadasdasdasd<br />
it goes way up to hundreds