Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   531

How should i cap this on regex?

by MovistarSucks - 10 December, 2020 - 11:09 PM
This post is by a banned member (MovistarSucks) - Unhide
This post is by a banned member (Tsunade) - Unhide
Tsunade  
Supreme
773
Posts
323
Threads
5 Years of service
#2
(This post was last modified: 10 December, 2020 - 11:12 PM by Tsunade.)
<b>(.*?)<\/b> or <b>(.*?)</b>
try both
This post is by a banned member (Sango) - Unhide
Sango  
Heaven
4.660
Posts
1.085
Threads
6 Years of service
#3
(?<=<b>)[0-9]*?\.[0-9][0-9](?=<\/b>)
This post is by a banned member (MovistarSucks) - Unhide
This post is by a banned member (Sango) - Unhide
Sango  
Heaven
4.660
Posts
1.085
Threads
6 Years of service
#5
(10 December, 2020 - 11:16 PM)MovistarSucks Wrote: Show More
(10 December, 2020 - 11:12 PM)Sango Wrote: Show More
(?<=<b>)[0-9]*?\.[0-9][0-9](?=<\/b>)

This one throws an empty value

it should just capture the numbers, test it on https://regex101.com/
This post is by a banned member (MovistarSucks) - Unhide

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)