<?php $regex = '[foo|[b]ar]'; preg_match($regex, 'fobar', $match); var_dump($match);
You have javascript disabled. You will not be able to edit any code.