A
A
Alexey2018-05-05 16:11:55
Regular Expressions
Alexey, 2018-05-05 16:11:55

How to extract string between characters?

There is a string - how to get a word using a regular expression? (int:5)int

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2018-05-05
@ichubinets

\((\w+):\d+\)
https://regex101.com/r/WfdzR6/1
sandbox.onlinephpfunctions.com/code/48e84bb9ab96e6...

V
Vitaly Mironov, 2018-05-05
@nor1m

[A-Za-z].[^:]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question