Awesome q2a theme
Ask us anything
Toggle navigation
Email or Username
Password
Remember
Login
Register
|
I forgot my password
Questions
Unanswered
Tags
Users
Ask a Question
How to extract string between characters?
0
like
0
dislike
35
views
There is a line
(int:5)
- how to get the word
int
with the help of the regular season?
regular-expressions
asked
Apr 13, 2019
by
ichubinets
|
35
views
answer
comment
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
3
Answers
0
like
0
dislike
\\((\\w+):\\d+\\)
\r
https://regex101.com/r/WfdzR6/1
\r
sandbox.onlinephpfunctions.com/code/48e84bb9ab96e6...
answered
Apr 17, 2019
by
xpert13
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
If replays can be something like \\((.*):.*\\)
$str = '(int:5)'; echo preg_replace('#\\((.*):.*\\)#', '$1', $str);
answered
Apr 17, 2019
by
Yan-s
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
[A-Za-z].[^:]
answered
Apr 17, 2019
by
nor1m
ask related question
comment
Please
log in
or
register
to add a comment.
Related questions
0
like
0
dislike
3
answers
How to extract digits and the decimal point, between certain characters?
asked
Apr 12, 2019
by
parschakov
php
regular-expressions
0
like
0
dislike
2
answers
How to get the regular expression string between characters?
asked
May 12, 2019
by
brachkoff
javascript
regular-expressions
0
like
0
dislike
4
answers
How to extract string from REQUEST_URI the text?
asked
Jun 7, 2019
by
hoi
php
regular-expressions
0
like
0
dislike
3
answers
How to extract number from a string template?
asked
May 22, 2019
by
densisss
regular-expressions
0
like
0
dislike
1
answer
How to extract a character string with restrictions?
asked
May 22, 2019
by
romaro
regular-expressions
Most popular tags
javascript
php
css
html
jquery
wordpress
python
linux
web-development
mysql
android
windows
java
layout
c#
computer-networks
node.js
cpp
iron
yii
vue.js
1C-Bitrix
react
laravel
django
nginx
system-administration
search-engine-optimization
api
ubuntu
the-it-education.
ajax
sql
programming
hosting
cms
design
apache
google-chrome
bootstrap
Vkontakte
macos
google
network-administration
git
laptops
algorithms
regular-expressions
unity-game-engine
email
angular
database
network-equipment
software
wooŃommerce
debian
.net
ios
information-security
video
law-in-it
browsers
books
parsing
wi-fi
game-development
career
htaccess
postgresql
telegram
mikrotik
mobile-development
ruby-on-rails
the-domain-name-system
modx
Yandex
c
json
opencart
Habr
freelance
vpn
asp.net
windows-server
symfony
bots
hard-drives
math
qt
DIY
audio
frontend
payment-system
bash
electronics
gulp.js
user-interface
docker
online-shopping
110,608
questions
257,187
answers
0
comments
40,796
users