joe12 Posted August 5, 2008 Share Posted August 5, 2008 I was just wondering how you would go about creating this as I'm not very experienced with php. Say you have the following text. Quote: At 08-05 06:25:19, as it came to a battle: Attacker Joe (X:XXX:XX) Weapons: XXX% Shields: XXX% Armour: XXX% Ship type Number S.Cargo 3 L.Fighter 6 and out of that text create a code that grabs part of it and spits it out saying something like. [center]Attacker Joe S.Cargo...3 L.Fighter...6[/center] and apply some bbcode effects to it to, thanks for anyone who helps, joe. Link to comment https://forums.phpfreaks.com/topic/118226-a-text-converter/ Share on other sites More sharing options...
ignace Posted August 5, 2008 Share Posted August 5, 2008 regex will lead you to the path of true enlightenment Link to comment https://forums.phpfreaks.com/topic/118226-a-text-converter/#findComment-608545 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.