I would like to capture the text that occurs after the second slash and before the third slash in a string. Example:
/ipaddress/databasename/
I need to capt
you can use explode function with PHP or split with other languages to so such operation.
explode
PHP
split
anyways, here is regex pattern:
/[\/]*[^\/]+[\/]([^\/]+)/