Find Jobs
Hire Freelancers

Construct a RegEx statement

$10-30 AUD

Closed
Posted about 5 years ago

$10-30 AUD

Paid on delivery
I need a regex to not only find a number in the format 'nnn nnn nnn' but to also perform an algorithm on the digits. The algorithm can be done by find and replace and tally marks and not math functions. For instance first number 5 multiplied by check digit 2 would be 10 tally marks. this is done on all 9 numbers. Then we divide by replacing a number tally marks with a different mark. So 10 tally marks where we replace 4 with the alternative mark would leave 2 original tally marks. If there are any of the of the original tally marks left then the number is not an integer and not a match. I am hopeful this is possible due to the conversation here:- [login to view URL] Some folks have managed to get a regular expression to match prime numbers:- [login to view URL] We can only use standard regex (no script, perl etc.), our implementation is basically these:- [login to view URL] [login to view URL] [login to view URL] There is a really good chance this is not possible. Feel free to call me crazy. However we are using software that does not support anything but regex at the crucial step.
Project ID: 18885063

About the project

2 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average $38 AUD for this job
User Avatar
Hi, let me know if you want to achieve 5his using a perl script. if so, I can do it for you. thanks,
$50 AUD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
north sydney, Australia
0.0
0
Payment method verified
Member since Mar 6, 2019

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.