How do I get substring from string which start with s and end with /s.
$text can be in following formats
$text = "LowsABC/s";
$text = "sABC/sLow";
$text = "ABC";
how can I get ABC, sometime it may happen that $text does not contain s and /s just only ABC, Still I want to get the ABC.