Find a regular expression

sss= "http://www.qhnews.com/newscenter/system/2014/07/22/011460349.shtml
I want the number after the last" / "


regular expression

 ([^/]+)$

[^/]+$

recommends an online testing regularization tool regex101
Select Python .

([^/]+)$

enter the regular and the string to validate, respectively. You can see the results.


([^ /] +)\ .shtml $

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b356ff-3435e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b356ff-3435e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?