You are here: PSPad forum > English discussion forum > Re: Regex issue (percentages)
Posted by: syntech | Date: 2018-07-11 07:35 | IP: IP Logged
^.* \d{1,2}(\.\d)?%
A little shorter, and should work, too. If there is always a dot and a digit (except at 100%), the round brackets and the ? can be removed.
^.* \d{1,2}\.\d%
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR