How to extract string between characters?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
14 views
There is a line (int:5) - how to get the word int with the help of the regular season?
by | 14 views

3 Answers

0 like 0 dislike
by
0 like 0 dislike
If replays can be something like \\((.*):.*\\)
$str = '(int:5)'; echo preg_replace('#\\((.*):.*\\)#', '$1', $str);
by
0 like 0 dislike
[A-Za-z].[^:]
by

Related questions

0 like 0 dislike
3 answers
0 like 0 dislike
2 answers
0 like 0 dislike
4 answers
0 like 0 dislike
3 answers
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
35,390 users