'<a href="/link/someId">Page number{thisId}</a>'
<a href="https://toster.ru">Page №13</a>
if(preg_match('/№\<!--',$yourstring,$matches) ){
// var_dump($matches);
if ($matches) {
do your thing
}</property-->
<br / >
In the $matches array is formed like, but some element of it will be 13
Find more questions by tags MySQLSQLRegular expressions
WITH t AS (SELECT 'Page No.{thisId}' x FROM DUAL)
SELECT SUBSTR (t.x
INSTR (t.x, '{'),
INSTR (t.x, '}') - INSTR (t.x, '{') + 1)
FROM t - Lee58 commented on September 19th 19 at 00:36