How to extract the bolded text written between blah-blah-blah this in PHP?
blah-blah-blah/24545787acd448/blah-blah-blah
How to extract the bolded text written between blah-blah-blah this in PHP?
blah-blah-blah/24545787acd448/blah-blah-blah
Depending on the actual string complexity, you could simply use [fphp]explode[/fphp] to obtain the individual components.
<?php
$string = 'blah-blah-blah/24545787acd448/blah-blah-blah';
print_r(
explode('/', $string)
);
/*
Array
(
[0] => blah-blah-blah
[1] => 24545787acd448
[2] => blah-blah-blah
)
*/
?>
Thank you sir.