[eluser]megabyte[/eluser]
I want to take a paragraph like so:
Lorem Ipsum is [simply] dummy text of the printing and [typesetting] industry. Lorem Ipsum has been the industry's [standard] dummy text ever since the 1500s.
Notice the words enclosed in square brackets.
I want to run a custom function on each word enclosed in these brackets.
I'm not great with regex but I know that will play a part.
Can anyone point me in the right direction?
Thanks