Welcome Guest, Not a member yet? Register   Sign In
[Solved] finding number question
#2

Try this in your regular expression pattern:
Code:
\[(\d+)\.?\]
The ? after the dot makes it optional.
Put the \d+ part between round brackets, in order to catch the mathes.
A good website to test regex:
https://regex101.com/
Reply


Messages In This Thread
RE: finding number question - by Wouter60 - 01-14-2017, 12:27 PM
RE: finding number question - by wolfgang1983 - 01-14-2017, 04:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB