• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] finding number question

#3
(01-14-2017, 12:27 PM)Wouter60 Wrote: 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/

Thanks that regex101 is good site i tried it out never herd of it before
There's only one rule - please don't tell anyone to go and read the manual.  Sometimes the manual just SUCKS!
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.